WMaker: fix memory leak in wDockTrackWindowLaunch (Coverity #50120 and #50121)
commitbee02df72f1ff02fa11533f666d955511d9c3fbd
authorChristophe CURIS <christophe.curis@free.fr>
Tue, 20 May 2014 19:46:34 +0000 (20 21:46 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Tue, 20 May 2014 20:29:56 +0000 (20 21:29 +0100)
treea5f949a54419cc40b9d6fb6f620e1a15fce8c40a
parentd292c6208038d08f85f81f15ddbed12d42d57602
WMaker: fix memory leak in wDockTrackWindowLaunch (Coverity #50120 and #50121)

As pointed by Coverity, the function 'ProgGetWMClass' always allocates the
strings returned in wm_class and wm_instance, so they always must be freed.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
src/dock.c