wrlib: Potential leak of memory pointed to by 'tmpp'

Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
wmlib: Potential leak of memory pointed to by 'entry'

two similar ones, if we return then free allocated memory

Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
wrlib: potentially incorrect sizeof in malloc

Result of 'malloc' is converted to a pointer of type 'unsigned char',
which is incompatible with sizeof operand type 'char'

Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
wrlib: wrong type in sizeof

Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
wrlib: wrong type in sizeof

Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
WINGs: Called function pointer is null (null dereference)

make sure that we have function to call

Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
WINGs: Value stored to 'scroll' is never read

it is assigned after doing switch() {}
so values assigned in switch() are dropped anyway

Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
WINGs: Value stored to 'pos'|'_w'|'done' is never read

Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
WINGs: actually assign variable

Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
WPrefs: fix segfault when image not found

Previously, when an image could not be loaded by WPrefs when rendering textures
for the Appearances panel, a segfault would occur.  This could happen, e.g., if
a user moved or deleted an image file without editing their ~/GNUstep/Defaults/
WindowMaker file.

This patch first checks if a texture contains an image, and if it does, it
checks to see if that image can be loaded.  If it can't, a solid black texture
is loaded instead.

The patch also has the added benefit of combining some of the code used for
rendering both pixmap and textured gradient textures.
add util/wmiv to .gitignore
WPrefs: Value stored to 'timage' is never read

three times in a row

Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
Merge branch 'next' into feat/wprefs-themes