summaryrefslogtreecommitdiff
path: root/src/simutil.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/simutil.c
parent4e74b7b182713b472a0ddea163db288c65a5112d (diff)
downloadofono-d5f117be802e786c6672fb20d234a5ea0d53afa0.tar.gz
util: Convert pack7_bit / unpack_7bit to use l_malloc
Diffstat (limited to 'src/simutil.c')
-rw-r--r--src/simutil.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/simutil.c b/src/simutil.c
index e7fbfaf0..527e3ccd 100644
--- a/src/simutil.c
+++ b/src/simutil.c
@@ -27,6 +27,7 @@
#include <stdlib.h>
#include <glib.h>
+#include <ell/ell.h>
#include <ofono/types.h>
#include "simutil.h"
@@ -800,7 +801,7 @@ static char *sim_network_name_parse(const unsigned char *buffer, int length,
ret = convert_gsm_to_utf8(unpacked_buf, written, NULL, NULL, 0);
- g_free(unpacked_buf);
+ l_free(unpacked_buf);
break;
case 0x10: