diff options
author | Denis Kenzior <denkenz@gmail.com> | 2009-07-02 18:19:15 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2009-07-02 19:03:05 -0500 |
commit | 807201e969d389c6f611eb260e741108ca5002ad (patch) | |
tree | d352d4be0f5b20e20450572328f4cd2f7cb24863 | |
parent | d717908c699e991e48bcf5aa04d15b79189fd28a (diff) | |
download | ofono-807201e969d389c6f611eb260e741108ca5002ad.tar.gz |
Fix memory leak
-rw-r--r-- | src/smsutil.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/smsutil.c b/src/smsutil.c index 139b360c..c3cb0bad 100644 --- a/src/smsutil.c +++ b/src/smsutil.c @@ -2845,5 +2845,6 @@ char *cbs_decode_text(GSList *cbs_list, char *iso639_lang) utf8 = g_convert(buf, bufsize, "UTF-8//TRANSLIT", "UCS-2BE", NULL, NULL, NULL); + g_free(buf); return utf8; } |