]> git.proxmox.com Git - mirror_corosync.git/commitdiff
Revert "Free state variable allocated in wd_resource_state_is_ok"
authorJan Friesse <jfriesse@redhat.com>
Wed, 11 Jul 2012 15:04:41 +0000 (17:04 +0200)
committerJan Friesse <jfriesse@redhat.com>
Wed, 11 Jul 2012 15:04:41 +0000 (17:04 +0200)
This reverts commit 01c63ca17ca5b5a780cff0dd96d7d432b3e980a3.

exec/wd.c

index 5194ea7040e9f5067ea4b99079b747232ed9937a..241304cdebf4c7ef1ec579aee5aecc35740cd778 100644 (file)
--- a/exec/wd.c
+++ b/exec/wd.c
@@ -202,7 +202,6 @@ static int32_t wd_resource_state_is_ok (struct resource *ref)
                */
                return CS_FALSE;
        }
-       free (state);
 
        if (last_updated == 0) {
                /* initial value */