[Libreoffice-commits] online.git: loolwsd/Util.cpp
Caolán McNamara
caolanm at redhat.com
Fri Nov 20 08:12:56 PST 2015
loolwsd/Util.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit dfa6fd134f365dc5f0fd6863cd98d71419b22df3
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Nov 20 15:43:09 2015 +0000
info_ptr leak I bet
Change-Id: Ica1a162a9ff1e1648c1ee5ef9edf4177b756ea51
Reviewed-on: https://gerrit.libreoffice.org/20091
Reviewed-by: Miklos Vajna <vmiklos at collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos at collabora.co.uk>
diff --git a/loolwsd/Util.cpp b/loolwsd/Util.cpp
index c1836cd..bf8be1f 100644
--- a/loolwsd/Util.cpp
+++ b/loolwsd/Util.cpp
@@ -104,7 +104,7 @@ namespace Util
png_write_end(png_ptr, info_ptr);
- png_destroy_write_struct(&png_ptr, NULL);
+ png_destroy_write_struct(&png_ptr, &info_ptr);
return true;
}
More information about the Libreoffice-commits
mailing list