xforms-development
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[XForms] Small memleak fix and confirmed patches


From: SBP
Subject: [XForms] Small memleak fix and confirmed patches
Date: Mon, 25 Jul 2016 20:19:41 -0500

Hi there

I found a small memleak in get_decoration_sizes_from_wm, due to the
data returned by XGetWindowProperty not being freed. Patch is included,
although it's such a small change it can be made manually :-)

<<PATCH
--- forms.c~    2014-06-28 15:34:29.000000000 -0500
+++ forms.c     2016-07-25 01:46:01.770207523 -0500
@@ -2409,6 +2409,7 @@
         *right  = ( ( long * ) prop )[ 1 ];
         *bottom = ( ( long * ) prop )[ 3 ];
         *left   = ( ( long * ) prop )[ 0 ];
+        fl_free( prop );
     }
     else
         *top = *right =*bottom = *left = 0;
PATCH

Also I checked the 1.2.5pre1 source and confirmed the patches I
previously sent are included!

Cheers!

SBP



reply via email to

[Prev in Thread] Current Thread [Next in Thread]