Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: 2871830a40751c5a8fc30f47a8b8861dfa09d9dc
https://github.com/lxc/lxc/commit/2871830a40751c5a8fc30f47a8b8861dfa09d9dc
Author: Dwight Engen <dwight.en...@oracle.com>
Date: 2013-11-06 (Wed, 06 Nov 2013)
Changed paths:
M src/lxc/lxccontainer.c
M src/lxc/lxccontainer.h
Log Message:
-----------
add list_all_containers(), returns defined and active containers
Changelog: [serge] remove unneeded explicity qsort call
Signed-off-by: Dwight Engen <dwight.en...@oracle.com>
Signed-off-by: Serge Hallyn <serge.hal...@ubuntu.com>
Commit: 2c319dbfb562e32ce0ee37a45906ea6370e555b7
https://github.com/lxc/lxc/commit/2c319dbfb562e32ce0ee37a45906ea6370e555b7
Author: Dwight Engen <dwight.en...@oracle.com>
Date: 2013-11-06 (Wed, 06 Nov 2013)
Changed paths:
M src/tests/list.c
Log Message:
-----------
tests list: refactor and add test for list_all_containers()
Signed-off-by: Dwight Engen <dwight.en...@oracle.com>
Signed-off-by: Serge Hallyn <serge.hal...@ubuntu.com>
Commit: 148a9d276cd256746515068ba0fef7b45a917dfe
https://github.com/lxc/lxc/commit/148a9d276cd256746515068ba0fef7b45a917dfe
Author: Dwight Engen <dwight.en...@oracle.com>
Date: 2013-11-06 (Wed, 06 Nov 2013)
Changed paths:
M src/lxc/lxccontainer.c
Log Message:
-----------
fix leak in list_active_containers()
Found by running the lxc-test-list test with valgrind. The names were
put into a local array, and never freed in the success case where the
caller didn't want the names returned and in the early out failure case.
Note we don't need to check the return from remove_from_array() because
we just successfully added the name above.
Signed-off-by: Dwight Engen <dwight.en...@oracle.com>
Signed-off-by: Serge Hallyn <serge.hal...@ubuntu.com>
Compare: https://github.com/lxc/lxc/compare/4012c89148c4...148a9d276cd2
------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel