[0.2.62] fix mem leak 65/145465/1
authorEunhae Choi <eunhae1.choi@samsung.com>
Tue, 22 Aug 2017 10:26:46 +0000 (19:26 +0900)
committerEunhae Choi <eunhae1.choi@samsung.com>
Tue, 22 Aug 2017 10:26:46 +0000 (19:26 +0900)
Change-Id: I3b201150d7430c74eab5ed141bd9b50e3fbe69cb

muse/src/muse_player.c
packaging/mmsvc-player.spec

index 0d77529..73d79eb 100644 (file)
@@ -2609,6 +2609,9 @@ int player_disp_get_track_language_code(muse_module_h module)
        else
                player_msg_return(api, ret, module);
 
+       if (code)
+               free(code);
+
        return ret;
 }
 
index 1945b93..4f75b4d 100644 (file)
@@ -1,6 +1,6 @@
 Name:       mmsvc-player
 Summary:    A Media Player module for muse server
-Version:    0.2.61
+Version:    0.2.62
 Release:    0
 Group:      Multimedia/Libraries
 License:    Apache-2.0