Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #27 from monich/memleak
Fix memory leak in systemd_control_service()
  • Loading branch information
philippedeswert committed Mar 31, 2015
2 parents b0df07a + 2fb85e9 commit bf70c8f
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 bf70c8f

Please sign in to comment.