dfsm: Fix handling of already-owned well-known names on the bus
authorPhilip Withnall <philip@tecnocode.co.uk>
Sat, 18 Feb 2012 13:49:58 +0000 (13:49 +0000)
committerPhilip Withnall <philip@tecnocode.co.uk>
Sat, 18 Feb 2012 13:49:58 +0000 (13:49 +0000)
commit5d2c53db91274952f6b833fe3f4f6a47a490373c
treebd65727f8c131724db83c6534b9b7e3300cb922f
parente0664121aaa26601dc39dd7c7a3ace3f262078c1
dfsm: Fix handling of already-owned well-known names on the bus

We previously didn't handle failure to grab a well-known name, which caused
problems when registering/unregistering objects in a tight loop (and leaking
some of the registrations).
dfsm/dfsm-object.c