Remove unnecessary definitions 12/213012/1
authorMinje Ahn <minje.ahn@samsung.com>
Thu, 29 Aug 2019 08:07:50 +0000 (17:07 +0900)
committerMinje Ahn <minje.ahn@samsung.com>
Thu, 29 Aug 2019 08:07:50 +0000 (17:07 +0900)
Change-Id: I6dc51ebff79022cbf0d50d9f0510b8cafbc37fd3
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
include/media_info_private.h
include_product/media_info_private.h

index 2bf1733..55c8784 100755 (executable)
@@ -59,7 +59,6 @@ extern "C" {
 #define SAFE_STRLCPY(dst, src, n)      ((g_strlcpy(dst, src, n) < n) ? TRUE : FALSE)
 #define SAFE_STRLCAT(dst, src, n)      g_strlcat(dst, src, n);
 #define SAFE_FREE(src)         {if (src) {free(src); src = NULL; } }
-#define SAFE_G_FREE(src)       {if (src) {g_free(src); src = NULL; } }
 #define STRING_VALID(str)              ((str != NULL && strlen(str) > 0) ? TRUE : FALSE)
 #define SQLITE3_FINALIZE(x)    {if (x != NULL) sqlite3_finalize(x); }
 #define SQLITE3_SAFE_FREE(x)   {if (x != NULL) {sqlite3_free(x); x = NULL; } }
index 7c3a249..28d757d 100755 (executable)
@@ -62,7 +62,6 @@ extern "C" {
 #define SAFE_STRLCPY(dst, src, n)      ((g_strlcpy(dst, src, n) < n) ? TRUE : FALSE)
 #define SAFE_STRLCAT(dst, src, n)      g_strlcat(dst, src, n);
 #define SAFE_FREE(src)         {if (src) {free(src); src = NULL; } }
-#define SAFE_G_FREE(src)       {if (src) {g_free(src); src = NULL; } }
 #define STRING_VALID(str)              ((str != NULL && strlen(str) > 0) ? TRUE : FALSE)
 #define SQLITE3_FINALIZE(x)    {if (x != NULL) sqlite3_finalize(x); }
 #define SQLITE3_SAFE_FREE(x)   {if (x != NULL) {sqlite3_free(x); x = NULL; } }