summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanno Böck <hanno@gentoo.org>2011-11-24 18:27:15 +0000
committerHanno Böck <hanno@gentoo.org>2011-11-24 18:27:15 +0000
commitd38bec4adfb1c99ea7a3b4c267330694f7aef70e (patch)
tree8d05256bbe1adc0e758c00d6817cdccf027f8b6f /sys-auth/pam_mysql/files
parentnet-mail/notmuch: Version bump to 0.10. (diff)
downloadgentoo-2-d38bec4adfb1c99ea7a3b4c267330694f7aef70e.tar.gz
gentoo-2-d38bec4adfb1c99ea7a3b4c267330694f7aef70e.tar.bz2
gentoo-2-d38bec4adfb1c99ea7a3b4c267330694f7aef70e.zip
pam_mysql: fix memleak
(Portage version: 2.1.10.37/cvs/Linux x86_64)
Diffstat (limited to 'sys-auth/pam_mysql/files')
-rw-r--r--sys-auth/pam_mysql/files/pam_mysql-0.7_rc1-memleak.diff10
1 files changed, 10 insertions, 0 deletions
diff --git a/sys-auth/pam_mysql/files/pam_mysql-0.7_rc1-memleak.diff b/sys-auth/pam_mysql/files/pam_mysql-0.7_rc1-memleak.diff
new file mode 100644
index 000000000000..e746be72029d
--- /dev/null
+++ b/sys-auth/pam_mysql/files/pam_mysql-0.7_rc1-memleak.diff
@@ -0,0 +1,10 @@
+--- pam_mysql-0.7RC1/pam_mysql.c 2006-01-09 11:35:59.000000000 +0100
++++ pam_mysql-0.7RC1-1/pam_mysql.c 2011-10-18 20:26:38.655425994 +0200
+@@ -2338,6 +2338,7 @@
+ }
+
+ mysql_close(ctx->mysql_hdl);
++ mysql_library_end();
+
+ xfree(ctx->mysql_hdl);
+ ctx->mysql_hdl = NULL;