[TSAM-12752] memory leak issue fixed 21/113121/1 accepted/tizen/common/20170208.155128 accepted/tizen/ivi/20170208.104153 accepted/tizen/mobile/20170208.104119 accepted/tizen/unified/20170309.031612 accepted/tizen/wearable/20170208.104133 submit/tizen/20170208.080754 submit/tizen_unified/20170308.100404
authorKyeonghun Lee <kh9090.lee@samsung.com>
Mon, 6 Feb 2017 07:17:41 +0000 (16:17 +0900)
committerKyeonghun Lee <kh9090.lee@samsung.com>
Mon, 6 Feb 2017 07:17:41 +0000 (16:17 +0900)
Change-Id: I0061f49da3724b95f605d56511605bbfa794cb5c

src/messages.c

index 15e3a1a59c5d571195e51d9a38baf7416fc261dc..3832426f0a85fba7a9c49649819e4f8447023844 100644 (file)
@@ -678,6 +678,7 @@ int messages_search_message(messages_service_h service, messages_message_box_e m
                *total = -1;                    /* TODO: total count is not supported yet. */
 
        /* TODO: where should I free msg_list? */
+       g_free(msg_list.msg_struct_info);
 
        return MESSAGES_ERROR_NONE;
 }