mirror of git://git.sysmocom.de/ofono
Fix string array memory leaks during plugin loading
This commit is contained in:
parent
dc4f4655c0
commit
aed4eac9fa
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue