T152: fixing memory leakage, missing of free state
authorReto Achermann <reto.achermann@inf.ethz.ch>
Fri, 14 Aug 2015 06:42:04 +0000 (08:42 +0200)
committerReto Achermann <reto.achermann@inf.ethz.ch>
Fri, 14 Aug 2015 06:42:04 +0000 (08:42 +0200)
Signed-off-by: Reto Achermann <reto.achermann@inf.ethz.ch>

usr/monitor/capops/revoke.c

index 5cc0914..f0e47ed 100644 (file)
@@ -140,6 +140,7 @@ revoke_result__rx(errval_t result,
                  st->result_handler);
 
     st->result_handler(result, st->st);
+    free(st);
 }
 
 static void