1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Free path on error, c_plugins

This commit is contained in:
James Booth 2013-08-18 17:03:31 +01:00
parent 2dc8030f8b
commit 7f9a317cd7

View File

@ -27,6 +27,7 @@ c_plugin_create(const char * const filename)
if (!handle) {
log_warning ("dlopen failed to open `%s', %s", filename, dlerror ());
g_string_free(path, TRUE);
return NULL;
}