summaryrefslogtreecommitdiff
path: root/src/stkutil.c
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2018-12-20 15:43:08 -0600
committerDenis Kenzior <denkenz@gmail.com>2018-12-27 18:18:51 -0600
commitd5f117be802e786c6672fb20d234a5ea0d53afa0 (patch)
tree4369296c60216a124edc815c42756f3db8d33ec2 /src/stkutil.c
parent4e74b7b182713b472a0ddea163db288c65a5112d (diff)
downloadofono-d5f117be802e786c6672fb20d234a5ea0d53afa0.tar.gz
util: Convert pack7_bit / unpack_7bit to use l_malloc
Diffstat (limited to 'src/stkutil.c')
-rw-r--r--src/stkutil.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/stkutil.c b/src/stkutil.c
index 2ba8dbc8..259dc666 100644
--- a/src/stkutil.c
+++ b/src/stkutil.c
@@ -28,6 +28,7 @@
#include <stdint.h>
#include <glib.h>
+#include <ell/ell.h>
#include <ofono/types.h>
#include "smsutil.h"
@@ -102,7 +103,7 @@ static char *decode_text(unsigned char dcs, int len, const unsigned char *data)
utf8 = convert_gsm_to_utf8(unpacked, written,
NULL, NULL, 0);
- g_free(unpacked);
+ l_free(unpacked);
break;
}
case SMS_CHARSET_8BIT: