Handle allocation failures and admit we leak on error exit
authorTim Pepper <timothy.c.pepper@linux.intel.com>
Thu, 11 Oct 2012 21:22:12 +0000 (14:22 -0700)
committerTim Pepper <timothy.c.pepper@linux.intel.com>
Thu, 11 Oct 2012 21:22:12 +0000 (14:22 -0700)
commit446696dd94cc8ac1bc2a1596be26381094f0edc1
treef99c9793da92fbfce760a6698fcae2e3887757e5
parent14074ad4d7ff3b13997e9329958de272c8223e05
Handle allocation failures and admit we leak on error exit

Now that I'm allocating more GLib things at start I do need to pay
attention to whether those did allocate and fail gracefully.  Since there's
no signal handler to do tidy cleanup and apparently no native GLib way to
kill GLib threads/loops from peer threads, I can't do proper cleanup on
exit...so just drop that code rather than pretend it actually works.

Signed-off-by: Tim Pepper <timothy.c.pepper@linux.intel.com>
src/corewatcher.c
src/inotification.c
src/submit.c