Navigation Menu

Skip to content

Commit

Permalink
NB#252257 - Fixed memory leak
Browse files Browse the repository at this point in the history
  • Loading branch information
Janne Mäntyharju committed May 17, 2011
1 parent b36d972 commit d48ad53
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libngf/client.c
Expand Up @@ -165,6 +165,9 @@ _pending_play_reply (DBusPendingCall *pending,
}

done:
if (msg)
dbus_message_unref (msg);

if (reply) {
LIST_REMOVE (client->pending_replies, reply);
free (reply);
Expand Down

0 comments on commit d48ad53

Please sign in to comment.