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:
parent
2dc8030f8b
commit
7f9a317cd7
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user