projects
/
platform
/
upstream
/
ofono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c27dae
)
Fix memory leak
author
Denis Kenzior
<denkenz@gmail.com>
Sat, 13 Jun 2009 00:40:51 +0000
(19:40 -0500)
committer
Denis Kenzior
<denkenz@gmail.com>
Sat, 13 Jun 2009 00:40:51 +0000
(19:40 -0500)
drivers/atmodem/sms.c
patch
|
blob
|
history
diff --git
a/drivers/atmodem/sms.c
b/drivers/atmodem/sms.c
index
976c097
..
9fb8a76
100644
(file)
--- a/
drivers/atmodem/sms.c
+++ b/
drivers/atmodem/sms.c
@@
-820,5
+820,8
@@
void at_sms_exit(struct ofono_modem *modem)
if (!at->sms)
return;
+ sms_destroy(at->sms);
+ at->sms = NULL;
+
ofono_sms_manager_unregister(modem);
}