util: fixed unused pointer value 50/30750/1
authorSeokYeon Hwang <syeon.hwang@samsung.com>
Tue, 25 Nov 2014 04:27:18 +0000 (13:27 +0900)
committerSeokYeon Hwang <syeon.hwang@samsung.com>
Tue, 25 Nov 2014 04:27:18 +0000 (13:27 +0900)
Fixed unused pointer value. It causes memory leak.

Change-Id: I28a3438c7a36b6bbf4b75db492a94300417b9632
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
tizen/src/util/maru_device_hotplug.c

index f55fd590e2dd6e4cd70f05c80cb566e7faf3be82..886c03ac9431ca73796ecea15fdb947bea4ce57b 100644 (file)
@@ -156,7 +156,7 @@ static bool do_hds_attach(const char * const file)
 {
     QemuOpts *fsdev;
     int ret;
-    QDict *qdict = qdict_new();
+    QDict *qdict;
 
     fsdev = qemu_opts_create(qemu_find_opts("fsdev"),
                              FS_MOUNT_TAG, 0, NULL);