diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2010-10-27 16:21:05 -0400 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2010-10-28 01:50:26 +0200 |
commit | aed4eac9fa7bf626040a4ccf0bcabd9e6cb3f43c (patch) | |
tree | 6e0dc732eedcbe750469c6188b174db6b172fdce /src/plugin.c | |
parent | dc4f4655c09c10337cadbd14e3acdc3a7e6326bd (diff) | |
download | ofono-aed4eac9fa7bf626040a4ccf0bcabd9e6cb3f43c.tar.bz2 |
Fix string array memory leaks during plugin loading
Diffstat (limited to 'src/plugin.c')
-rw-r--r-- | src/plugin.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugin.c b/src/plugin.c index 68fe3188..7c0652bb 100644 --- a/src/plugin.c +++ b/src/plugin.c @@ -176,6 +176,9 @@ int __ofono_plugin_init(const char *pattern, const char *exclude) plugin->active = TRUE; } + g_strfreev(patterns); + g_strfreev(excludes); + return 0; } |