[Gallery] corrected memory leak. 02/54102/1 accepted/tizen/mobile/20151212.071957 submit/tizen_mobile/20151211.130904
authorRahul Dadhich <r.dadhich@samsung.com>
Fri, 11 Dec 2015 10:16:54 +0000 (15:46 +0530)
committerRahul Dadhich <r.dadhich@samsung.com>
Fri, 11 Dec 2015 10:16:54 +0000 (15:46 +0530)
Change-Id: I4721f7029b8e77c0cfdb867691dfcc0c8c3e841b
Signed-off-by: Rahul Dadhich <r.dadhich@samsung.com>
src/util/gl-util.c

index 2a5e8d78750219448413fc75fb8d3b19b412e6bd..b06edb71f9e81b462eaa95043facddc75e635b51 100644 (file)
@@ -2495,6 +2495,7 @@ char *_gl_get_edje_path(void)
                return NULL;
        }
        snprintf(edj_path, 1024, "%s%s/%s", path , "edje", GL_EDJ_FILE);
+       free(path);
        return strdup(edj_path);
 }