controller: clean up job data if a thread gets cancelled waiting in a function
authorMartin Willi <martin@revosec.ch>
Tue, 26 Mar 2013 15:19:00 +0000 (16:19 +0100)
committerMartin Willi <martin@revosec.ch>
Mon, 6 May 2013 13:28:26 +0000 (15:28 +0200)
commit5e9144a21ff15e38f1a6b89fad4b6b02f443051a
tree2310021c6e643d01e3d98d351a1bc70e5bffce6e
parent2baa7bbedb7d1ffd149fc326dfe28ed81dbcd09f
controller: clean up job data if a thread gets cancelled waiting in a function

Controller functions are thread cancellation points, so register a cancellation
handler cleaning up job data.
src/libcharon/control/controller.c