On 02/18/2011 02:55 AM, Nelson Elhage wrote:
> Don't leak the old array if the allocation fails, and don't touch
> num_allocation
> if the allocation fails.
>
> Signed-off-by: Nelson Elhage
Acked-By: Jan Safranek
> ---
> src/daemon/cgrulesengd.c | 20
> 1 files changed,
Don't leak the old array if the allocation fails, and don't touch num_allocation
if the allocation fails.
Signed-off-by: Nelson Elhage
---
src/daemon/cgrulesengd.c | 20
1 files changed, 12 insertions(+), 8 deletions(-)
diff --git a/src/daemon/cgrulesengd.c b/src/daemon/c