[P170821-05343 P170818-04931] Remove memory leak 04/150404/1
authorKapil Jhuria <kapil.jhuria@samsung.com>
Fri, 15 Sep 2017 10:20:45 +0000 (15:50 +0530)
committerKapil Jhuria <kapil.jhuria@samsung.com>
Fri, 15 Sep 2017 10:18:38 +0000 (10:18 +0000)
Change-Id: I23c66331eea076a1ee63d1c8744481023d81d22a
Signed-off-by: Kapil Jhuria <kapil.jhuria@samsung.com>
src/gallery-efl.c

index b5786a2..88d9df4 100644 (file)
@@ -326,6 +326,7 @@ static int _ge_parse_param(ge_ugdata * ugd, app_control_h service)
        if (ret != APP_CONTROL_ERROR_NONE) {
                if (total_size) {
                        ugd->limitsize = atol(total_size);
+                       GE_FREE(total_size);
                } else {
                        ugd->limitsize = -1;
                }