]> xenbits.xensource.com Git - xen.git/commit
xl: allocate version info strings with strdup()
author"Gianni Tedesco (3P)" <gianni.tedesco@citrix.com>
Wed, 11 Aug 2010 12:02:14 +0000 (13:02 +0100)
committer"Gianni Tedesco (3P)" <gianni.tedesco@citrix.com>
Wed, 11 Aug 2010 12:02:14 +0000 (13:02 +0100)
commit4791ea5fa3c2a776cb7788da91cff6be94928ec3
tree7eb0cf5765d8655c0cedc2cf9b85705700b126ee
parentf94a432a98d3748edf17bb4a6e1b35a29eefb9d5
xl: allocate version info strings with strdup()
libxl_strdup() will soon have a per-call rather than per-context lifetime so
use strdup() to allocate version info and manually free in context destructor

Signed-off-by: Gianni Tedesco <gianni.tedesco@citrix.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
tools/libxl/libxl.c