[cgmanager-devel] [cgmanager/cgmanager] 295b66: proxy: fix a few bugs in error cases
GitHub
noreply at github.com
Mon Mar 31 15:12:02 UTC 2014
Branch: refs/heads/master
Home: https://github.com/cgmanager/cgmanager
Commit: 295b665abe159382d03e26a243c3d7f79cc3a686
https://github.com/cgmanager/cgmanager/commit/295b665abe159382d03e26a243c3d7f79cc3a686
Author: Serge Hallyn <serge.hallyn at ubuntu.com>
Date: 2014-03-31 (Mon, 31 Mar 2014)
Changed paths:
M cgmanager-proxy.c
Log Message:
-----------
proxy: fix a few bugs in error cases
In ping, if the message failed to be allocated we would
deref null. In start_dbus_request(), if dbus_message_new_method_call
failed we would not close the socketpair. Finally, in all *_main
functions, if we failed between start_ and complete_dbus_request,
we would leak the message.
Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>
More information about the cgmanager-devel
mailing list