diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2009-11-23 07:04:54 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2009-11-23 07:04:54 +0000 |
commit | cbc97d570c09ff9a1db5af18f5e5db5565ab3506 (patch) | |
tree | b32af8d3a725fcbb3424256be86529e8aa770667 /tools/flask/libflask | |
parent | e0df60ddc150199256cb6b9fd3f5573ba2fe5a0d (diff) | |
download | xen-cbc97d570c09ff9a1db5af18f5e5db5565ab3506.tar.gz xen-cbc97d570c09ff9a1db5af18f5e5db5565ab3506.tar.bz2 xen-cbc97d570c09ff9a1db5af18f5e5db5565ab3506.zip |
libxenlight: fix memory leaks
In particular:
- all the temporary flexarrays allocated in the create
device functions must be freed;
- all the strings that don't need to be modified can be added as they
are
to these temporary flexarrays instead of duplicating them;
- any data returned to the user shouldn't be added to the global
memory tracker so that the user can free it whenever he wishes.
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Diffstat (limited to 'tools/flask/libflask')
0 files changed, 0 insertions, 0 deletions