Fixed memory leak in wWorkspaceRename.
commit4a4775f076751be19303c04d0c2d13bae56f82c6
authorTobias Stoeckmann <tobias@picolo.pizza.local>
Sat, 5 May 2012 09:48:00 +0000 (5 11:48 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Mon, 7 May 2012 23:46:12 +0000 (7 20:46 -0300)
treec3e31f51cbd73ded3f04b26fb332f2d4042d4233
parent33328d997e0b39ec2afe06808e801bfed5fc7d0a
Fixed memory leak in wWorkspaceRename.

The function wtrimspace returns a wmalloced memory region, therefore
it must be wfreed after usage again.

Please take note that this also happens with every single line
of menu files, which will get fixed in a separate commit.
src/workspace.c