wmgeneral: Check if malloc fails.
commit746c4b6b7ccf67c64698f8b75dfca05abb31b4f3
authorDoug Torrance <dtorrance@monmouthcollege.edu>
Wed, 20 May 2015 03:30:44 +0000 (19 22:30 -0500)
committerCarlos R. Mafra <crmafra@gmail.com>
Wed, 20 May 2015 09:44:40 +0000 (20 10:44 +0100)
treebc04f01cef9384efdcc841ac441055c8e6c87756
parentfdb596cd42539e0f1bf853a057b7b01c44c9d870
wmgeneral: Check if malloc fails.

Fixes "(error) Uninitialized variable: ret" found by cppcheck.
wmckgmail/wmgeneral/misc.c
wmcpufreq/wmgeneral/misc.c [changed mode: 0755->0644]
wmifs/wmgeneral/misc.c
wmitime/wmgeneral/misc.c
wmkeys/wmgeneral/misc.c
wmmon/wmgeneral/misc.c
wmppp.app/wmgeneral/misc.c
wmsm.app/wmgeneral/misc.c
wmtime/wmgeneral/misc.c
wmtz/wmgeneral/misc.c