RE: [PATCH v3 3/4] libusbg: Do not try to dereference func when it is NULL. CID#56127

2014-05-26 Thread Krzysztof Opasiak
ibusbg: Do not try to dereference func > when it is NULL. CID#56127 > > From: Philippe De Swert > > We check if func is NULL, so if the allocation function failed we > should > not dereference or handle it anymore, so we jump straight to the > end. > > Signed-of

[PATCH v3 3/4] libusbg: Do not try to dereference func when it is NULL. CID#56127

2014-05-24 Thread philippedeswert
From: Philippe De Swert We check if func is NULL, so if the allocation function failed we should not dereference or handle it anymore, so we jump straight to the end. Signed-off-by: Philippe De Swert --- src/usbg.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/usbg.c b/src/usbg.c ind