Dr. Werner Fink 2014-03-13 14:18:27 +00:00 committed by Git OBS Bridge
parent 738fd16fab
commit 333871ca0c

View File

@ -59,7 +59,7 @@ Index: systemd-210/src/libsystemd/sd-bus/sd-bus.c
assert_se(prioq_pop(bus->reply_callbacks_prioq) == c); assert_se(prioq_pop(bus->reply_callbacks_prioq) == c);
- hashmap_remove(bus->reply_callbacks, &c->cookie); - hashmap_remove(bus->reply_callbacks, &c->cookie);
+ bus_drop_reply_callback(bus, c->cookie); + bus_drop_reply_callback(bus, c);
bus->current = m; bus->current = m;
bus->iteration_counter ++; bus->iteration_counter ++;
@ -80,7 +80,7 @@ Index: systemd-210/src/libsystemd/sd-bus/sd-bus.c
- hashmap_remove(bus->reply_callbacks, &c->cookie); - hashmap_remove(bus->reply_callbacks, &c->cookie);
+ /* Remove callback from reply_callbacks hashmap */ + /* Remove callback from reply_callbacks hashmap */
+ bus_drop_reply_callback(bus, c->cookie); + bus_drop_reply_callback(bus, c);
bus->current = m; bus->current = m;
bus->iteration_counter++; bus->iteration_counter++;