diff options
author | Denis Kenzior <denkenz@gmail.com> | 2018-12-20 15:43:08 -0600 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2018-12-27 18:18:51 -0600 |
commit | d5f117be802e786c6672fb20d234a5ea0d53afa0 (patch) | |
tree | 4369296c60216a124edc815c42756f3db8d33ec2 /src/stkutil.c | |
parent | 4e74b7b182713b472a0ddea163db288c65a5112d (diff) | |
download | ofono-d5f117be802e786c6672fb20d234a5ea0d53afa0.tar.gz |
util: Convert pack7_bit / unpack_7bit to use l_malloc
Diffstat (limited to 'src/stkutil.c')
-rw-r--r-- | src/stkutil.c | 3 |
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: |