diff --git a/src/lxc/lxc_destroy.c b/src/lxc/lxc_destroy.c index 0eeff5128..f1830fd5d 100644 --- a/src/lxc/lxc_destroy.c +++ b/src/lxc/lxc_destroy.c @@ -168,7 +168,6 @@ static int do_destroy_with_snapshots(struct lxc_container *c) if (!buf) { SYSERROR("failed to allocate memory"); close(fd); - free(buf); return -1; }