handover: Fix incorrect NULL check
authorSyam Sidhardhan <s.syam@samsung.com>
Sun, 28 Jul 2013 17:38:28 +0000 (02:38 +0900)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 29 Jul 2013 11:36:58 +0000 (13:36 +0200)
commit1bb04bd4fdbb5446a58818f04c1b8bff39b724a1
tree0cf5b79c26031145918ac5c9e1f5ce4d894a370a
parent3c92a379b743ca07822b1edf80355c68d0c2bc67
handover: Fix incorrect NULL check

Need to check the return value of g_try_realloc()
instead of (ndef == NULL).
plugins/handover.c