aboutsummaryrefslogtreecommitdiffhomepage
path: root/plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugin.c')
-rw-r--r--plugin.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugin.c b/plugin.c
index 39a92be..7b5e922 100644
--- a/plugin.c
+++ b/plugin.c
@@ -40,6 +40,7 @@ static int plugin_attach(char* path, char* file){
}
}
else{
+ free(lib);
return 0;
}
free(lib);