protect on null retval
authorSaleem Abdulrasool <compnerd@compnerd.org>
Sun, 13 Dec 2009 19:53:04 +0000 (11:53 -0800)
committerJohan Dahlin <johan@gnome.org>
Tue, 15 Dec 2009 13:01:55 +0000 (11:01 -0200)
commiteef0abab4094bb6bc16cf186771dfb5ab39d7b16
tree3bb5f19ff303711aaeb76f5f8404c668af17722b
parent8f252ababb6cb5948473636e4592f10ea1b8aebb
protect on null retval

ffi_call does not protect against retval being NULL, resulting in a segfault.

https://bugzilla.gnome.org/show_bug.cgi?id=604472
girepository/ginvoke.c