WINGs: fix memory leak in WMGetBrowserPaths (Coverity #50111)
commitd65430137d1341fb9b0ee76760d10ed74b8d386a
authorChristophe CURIS <christophe.curis@free.fr>
Sun, 18 May 2014 19:31:43 +0000 (18 21:31 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Sun, 18 May 2014 22:01:43 +0000 (18 23:01 +0100)
treeb90b2aec2420789c250854691ad2067c72deffbe
parent47b801021c3eda56a438717d8745d0d4c0ad6da5
WINGs: fix memory leak in WMGetBrowserPaths (Coverity #50111)

As reported by Coverity, in the (rare) case where the wstrlcat would fail
the array for the result would not be freed before returning.

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