fix mm_camcorder_testsuite double free 57/47457/1
authorJeongmo Yang <jm80.yang@samsung.com>
Thu, 3 Sep 2015 10:32:13 +0000 (19:32 +0900)
committerJeongmo Yang <jm80.yang@samsung.com>
Thu, 3 Sep 2015 10:32:13 +0000 (19:32 +0900)
Change-Id: I6a9332f998bbcdbc854caca6af9d8e923f755c99
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
test/mm_camcorder_testsuite.c

index 3a795e8..85db5f0 100644 (file)
@@ -2303,9 +2303,6 @@ static gboolean msg_callback(int message, void *msg_param, void *user_param)
                                g_print("*******************************************************\n");
                                g_print("[Camcorder Testsuite] Camcorder Captured(filename=%s)\n", report->recording_filename);
                                g_print("*******************************************************\n");
-
-                               SAFE_FREE (report->recording_filename);
-                               SAFE_FREE (report);
                        } else {
                                g_print( "[Camcorder Testsuite] report is NULL.\n" );
                        }