Fix string array memory leaks during plugin loading

This commit is contained in:
Johan Hedberg 2010-10-27 16:21:05 -04:00 committed by Marcel Holtmann
parent dc4f4655c0
commit aed4eac9fa
1 changed files with 3 additions and 0 deletions

View File

@ -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;
}