From: Christophe CURIS <christophe.cu...@free.fr>

As pointed by Coverity, a temporary WMArray was not freed after use.

Signed-off-by: Christophe CURIS <christophe.cu...@free.fr>
---
 WINGs/wtext.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/WINGs/wtext.c b/WINGs/wtext.c
index 8641840..b57b6b3 100644
--- a/WINGs/wtext.c
+++ b/WINGs/wtext.c
@@ -3026,6 +3026,7 @@ WMText *WMCreateTextForDocumentType(WMWidget * parent, 
WMAction * parser, WMActi
                WMAddToArray(types, "application/X-color");
                WMAddToArray(types, "application/X-image");
                WMRegisterViewForDraggedTypes(tPtr->view, types);
+               WMFreeArray(types);
        }
 
        /*WMAddNotificationObserver(fontChanged, tPtr,
-- 
1.9.2


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.

Reply via email to