Skip to content

Commit

Permalink
[usb-moded] Fixed memory leak in systemd_control_service()
Browse files Browse the repository at this point in the history
  • Loading branch information
monich committed Mar 30, 2015
1 parent b0df07a commit 2fb85e9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/usb_moded-systemd.c
Expand Up @@ -87,6 +87,7 @@ int systemd_control_service(const char *name, const char *method)
reply = dbus_connection_send_with_reply_and_block(bus, msg, -1, &error);
if(reply)
{
dbus_message_unref(reply);
ret = 0;
}
dbus_message_unref(msg);
Expand Down

0 comments on commit 2fb85e9

Please sign in to comment.