[libreoffice/f15] fix patch for 3.3.2
David Tardon
dtardon at fedoraproject.org
Thu May 26 08:49:32 UTC 2011
commit 1d02cfb73659dc239156943e91007373550408c3
Author: David Tardon <dtardon at redhat.com>
Date: Thu May 26 10:49:19 2011 +0200
fix patch for 3.3.2
0001-handle-NULL-display-gracefully.patch | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/0001-handle-NULL-display-gracefully.patch b/0001-handle-NULL-display-gracefully.patch
index f80fff6..cc6441a 100644
--- a/0001-handle-NULL-display-gracefully.patch
+++ b/0001-handle-NULL-display-gracefully.patch
@@ -28,9 +28,9 @@ index a8a87b0..dc88343 100755
- XCloseDisplay( display );
+ if (display)
+ XCloseDisplay( display );
- #ifdef USE_LIBPNG
- png_destroy_read_struct( &png_ptr, &info_ptr, NULL );
- #else
+
+ // leak it is faster
+ bitmap_rows = NULL;
--
1.7.5.1
More information about the scm-commits
mailing list