ResMgr: Return error on NULL handle
authorCris Jansson <cjansson@ti.com>
Thu, 1 Mar 2012 19:16:55 +0000 (13:16 -0600)
committerSuman Anna <s-anna@ti.com>
Mon, 12 Mar 2012 21:09:27 +0000 (16:09 -0500)
commit8f68a0ed919fc3f50ef717106bef779f3bed1901
treeab71adb61c706516fe8f0e625227adc1cbcd7625
parente604a55de6b7c25754aaeac06b2ddb540929448f
ResMgr: Return error on NULL handle

IpcResource_disconnect() is not returning when it
detects that a NULL handle has been passed to the function.
This patch adds the appropriate return statement.

Signed-off-by: Cris Jansson <cjansson@ti.com>
src/ti/resmgr/IpcResource.c