[lxc-devel] [lxc/lxc] f2e4dd: Remove unnecessary call to free()
GitHub
noreply at github.com
Mon Sep 28 21:05:08 UTC 2015
Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: f2e4dddd71d427f9cacbab4016ffe18b0e4a4a0a
https://github.com/lxc/lxc/commit/f2e4dddd71d427f9cacbab4016ffe18b0e4a4a0a
Author: Christian Brauner <christianvanbrauner at gmail.com>
Date: 2015-09-28 (Mon, 28 Sep 2015)
Changed paths:
M src/lxc/lxc_destroy.c
Log Message:
-----------
Remove unnecessary call to free()
Freeing memory when calloc() fails doesn't make sense
Signed-off-by: Christian Brauner <christianvanbrauner at gmail.com>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>
More information about the lxc-devel
mailing list