summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2009-04-05 17:20:59 +0200
committerSebastien Helleu <flashcode@flashtux.org>2009-04-05 17:20:59 +0200
commit08a07c145a47f868f49f48582905e8bff356c546 (patch)
treed7377ff7e137dc743b3be9bcf0b6242e6640a27b /src
parent7f454586ea1b497b780df7e702da0e4c10c011a3 (diff)
downloadweechat-08a07c145a47f868f49f48582905e8bff356c546.zip
Fix memory leak in script install
Diffstat (limited to 'src')
-rw-r--r--src/plugins/scripts/script.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/scripts/script.c b/src/plugins/scripts/script.c
index 32343879f..98e89c5af 100644
--- a/src/plugins/scripts/script.c
+++ b/src/plugins/scripts/script.c
@@ -863,6 +863,7 @@ script_action_install (struct t_weechat_plugin *weechat_plugin,
}
free (new_path);
}
+ free (name);
}
}
weechat_string_free_exploded (argv);