ReadOnly: revokechild_active is a list, not a context.
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Tue, 13 Sep 2011 08:47:18 +0000 (18:47 +1000)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Tue, 13 Sep 2011 08:47:18 +0000 (18:47 +1000)
commite3cdf429b62314aaf92177a13478f5f9d2019246
tree9f99a2f7f6685bbd1fff412df4c52abfbc7a2deb
parenta46d94bca2a841e5d84f7532c4efc8221ebaa885
ReadOnly: revokechild_active is a list, not a context.

Dont reset the pointer to NULL after deleting the first entry, loop deleting one entry
at a time until they are all gone or we will leak some memory and possibly a process.

(This used to be ctdb commit 8a86ac72088ad9f64ca83218c704f84c9abe00b6)
ctdb/server/ctdb_recover.c