pidgin/pidgin
Clone
Summary
Browse
Changes
Graph
fix memory leak when using purple accounts
23 months ago, ivanhoe
aaff9cefb423
Parents
d0deb0cc4082
Children
d563b345a096
fix memory leak when using purple accounts
Testing Done:
ran test_account_manager and test_notification (from /r/1502 where I first encountered that leak) in valgrind -> no more leak and no new invalid read/write
Reviewed at https://reviews.imfreedom.org/r/1503/
1 files changed, 1 insertions(+), 0 deletions(-)
+1
-0
libpurple/account.c
--- a/libpurple/account.c Fri Jun 10 03:37:33 2022 -0500
+++ b/libpurple/account.c Fri Jun 10 20:42:36 2022 -0500
@@ -943,6 +943,7 @@
g_free(priv->current_error);
}
+ g_free(priv->id);
g_free(priv->username);
g_free(priv->alias);
g_free(priv->user_info);