memory leak issue fixed 32/64632/1
authorKyeonghun Lee <kh9090.lee@samsung.com>
Mon, 4 Apr 2016 08:55:08 +0000 (17:55 +0900)
committerKyeonghun Lee <kh9090.lee@samsung.com>
Mon, 4 Apr 2016 08:55:08 +0000 (17:55 +0900)
Change-Id: I218911208c871855e1922dc3f0054a9174ac7741

manager/src/msg-manager-sound.cpp
manager/src/msg-manager.cpp

index e2fa7e6..a10b690 100644 (file)
@@ -616,5 +616,3 @@ void MsgMgrSoundPlayVibration(char *vibrationPath)
 
        MSG_MGR_END();
 }
-
-
index ad8aa81..d054016 100644 (file)
@@ -439,6 +439,9 @@ void _insert_only_active_noti_func(app_control_h app_control)
                        msg_get_str_value(msg, MSG_MESSAGE_SMS_DATA_STR, msg_info.msgText, MAX_MSG_TEXT_LEN);
        }
 
+       msg_release_struct(&msg);
+       msg_release_struct(&opt);
+
        g_free(msgId);
 
        MsgMgrInsertOnlyActiveNotification(noti_type, &msg_info);