diff options
author | Markus Armbruster | 2013-01-22 11:07:58 +0100 |
---|---|---|
committer | Stefan Hajnoczi | 2013-01-30 11:14:46 +0100 |
commit | d3f8e138c23ba082f87c96634d06b978473c1e9b (patch) | |
tree | 349324b5623a40e7f224dd1fb211b6536fb5f777 /readline.c | |
parent | g_strdup(NULL) returns NULL; simplify (diff) | |
download | qemu-d3f8e138c23ba082f87c96634d06b978473c1e9b.tar.gz qemu-d3f8e138c23ba082f87c96634d06b978473c1e9b.tar.xz qemu-d3f8e138c23ba082f87c96634d06b978473c1e9b.zip |
hw/9pfs: Fix unchecked strdup() by converting to g_strdup()
Note: the allocation in virtio_9p_init() is still leaked. To be fixed
in a followup commit.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'readline.c')
0 files changed, 0 insertions, 0 deletions