Sanitize against NULL in some free-like functions.
Merge pull request #1017 from lakkatv/lakka

(GLUI) Display message boxes
Merge pull request #1018 from lioncash/free

Sanitize against NULL in some free-like functions.
(apk-extract.c) Style/indent nits
Merge pull request #1019 from lakkatv/lakka

Remove -DHAVE_GL_SYNC from GLES builds
Fix a few memory leaks

Also guard against calloc failure in lakka_init.
Merge pull request #1020 from lioncash/leak

Fix a few memory leaks
(Lakka) build fix
(Makefile) Cleanup and CXX warning fixes
Fix C++ build linkage
Merge pull request #1021 from heuripedes/master

C++ build fixes
(GLUI) Silence warning
Split up string_list functions into its own object/source file
Add string_list.c/string_list.h
Split up dir_list functions into its own source/object file
(Android) Fix JNI build
(PS3/Wii/PSP) Fix Salamander build
(360/Xbox 1) Fix Salamander builds
(iOS) Fix build
(file_path.h) Cleanups