wmaker: main.c fix realloc mistake
commitabc2d13f7db338fd8d1e436ea6c0c40c3eca9f76
authorDavid Maciejak <david.maciejak@gmail.com>
Sun, 27 Jul 2014 06:25:24 +0000 (27 14:25 +0800)
committerCarlos R. Mafra <crmafra@gmail.com>
Sun, 27 Jul 2014 15:45:03 +0000 (27 09:45 -0600)
tree80178a884bec84374f1ba69c350221047de43b7c
parent8d731b719ef6609190f098a23cb1858dbb037618
wmaker: main.c fix realloc mistake

As reported by cppcheck:
[src/main.c:141]: (error) Common realloc mistake: 'wVisualID' nulled but not freed upon failure

The patch is using wrealloc instead of the standard realloc().
src/main.c