Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge branch 'jb34899' into 'master'
See merge request !10
  • Loading branch information
Slava Monich committed Apr 14, 2016
2 parents f2bf370 + 02c0c4f commit bcfd022
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mms-transfer-list-dbus/src/mms_transfer_dbus.c
Expand Up @@ -145,6 +145,7 @@ mms_transfer_dbus_client_destroy(
MMSTransferDbusClient* client = data;
g_bus_unwatch_name(client->watch_id);
g_hash_table_destroy(client->requests);
g_slice_free(MMSTransferDbusClient, client);
}

static
Expand Down Expand Up @@ -243,7 +244,7 @@ mms_transfer_dbus_handle_enable_updates(
g_free, mms_transfer_dbus_client_destroy);
}
if (!client) {
client = g_new0(MMSTransferDbusClient, 1);
client = g_slice_new0(MMSTransferDbusClient);
client->requests = g_hash_table_new(g_direct_hash, g_direct_equal);
client->watch_id = g_bus_watch_name_on_connection(priv->bus,
sender, G_BUS_NAME_WATCHER_FLAGS_NONE, NULL,
Expand Down

0 comments on commit bcfd022

Please sign in to comment.