summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGary Kramlich <grim@reaperworld.com>2019-03-11 22:06:27 -0500
committerGary Kramlich <grim@reaperworld.com>2019-03-11 22:06:27 -0500
commit44b5a0306388760dfccf2948400eb7d9ebf81b7a (patch)
tree334fa04a5571d3a0e2588737dfddef22e9a9910d
parente173df1375ce261f170f853f2ae5d41153dc6fe7 (diff)
downloadpidgin-44b5a0306388760dfccf2948400eb7d9ebf81b7a.tar.gz
Fix some use-after-free's that QuLogic found while reviewing
-rw-r--r--pidgin/pidgindebugplugininfo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pidgin/pidgindebugplugininfo.c b/pidgin/pidgindebugplugininfo.c
index 8762010467..0b0f54bd88 100644
--- a/pidgin/pidgindebugplugininfo.c
+++ b/pidgin/pidgindebugplugininfo.c
@@ -118,12 +118,12 @@ pidgin_debug_plugin_info_build_html(void) {
loaded ? "Yes" : "No"
);
- g_free(authors);
+ g_clear_pointer(&authors, g_free);
g_free(version);
g_free(license);
g_free(website);
g_free(id);
- g_free(extra);
+ g_clear_pointer(&extra, g_free);
g_string_append(str, "</dd>");
}