summaryrefslogtreecommitdiffstats
path: root/scripts/codeconverter
diff options
context:
space:
mode:
authorPaolo Bonzini2020-08-18 12:11:02 +0200
committerPaolo Bonzini2020-09-30 19:11:36 +0200
commita4c13869f95cb45d657cc1df3803f633221d4971 (patch)
tree8ebf036c107ff7aad647eb31d070fafe7115bb82 /scripts/codeconverter
parentmeson: report accelerator support (diff)
downloadqemu-a4c13869f95cb45d657cc1df3803f633221d4971.tar.gz
qemu-a4c13869f95cb45d657cc1df3803f633221d4971.tar.xz
qemu-a4c13869f95cb45d657cc1df3803f633221d4971.zip
oslib: do not call g_strdup from qemu_get_exec_dir
Just return the directory without requiring the caller to free it. This also removes a bogus check for NULL in os_find_datadir and module_load_one; g_strdup of a static variable cannot return NULL. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/codeconverter')
0 files changed, 0 insertions, 0 deletions