Apparently CRLF (windows format) was checked in from Linux causing modified by checkout under windows. See: http://help.github.com/dealing-with-lineendings/ http://mail.gnome.org/archives/gtk-devel-list/2009-July/msg00041.html
Avoids warnings and confusion when compiling with MSVC.
1) always emit ending type FIXED for fixed sized items The serialiser needs to know if it dealing with a fixed sized item in case the serialised data is corrupt and the item has the wrong size. 2) add a macro that will be used by test cases to check that all memory has been freed.
Fixes: Bug 599197 - array ref and unref functions crash on NULL array. * garray.c: Added safety guards to all public functions, which did not have them earlier. Now when NULL is passed to them, they will issue a warning and return, instead of segfaulting.