commit | bd69fe8448024258d046e2a15d4cf5c498188144 | [log] [tgz] |
---|---|---|
author | Kevin Wolf <kwolf@redhat.com> | Fri Jun 11 10:19:41 2010 +0200 |
committer | Anthony Liguori <aliguori@us.ibm.com> | Mon Jun 14 11:12:53 2010 -0500 |
tree | e1357f8f5bade1e051e6c9bfceb2ed0f48ebaa85 | |
parent | 271248886e6110b4af0545f6a2d3ef38217cd58f [diff] |
qemu-option: Fix uninitialized value in append_option_parameter When dest is NULL, i.e. a new copy of the list is created, we don't get a properly terminated list after the realloc. Initialize it as an empty list. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>