Paolo Bonzini a4c13869f9 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>
2020-09-30 19:11:36 +02:00
..
2020-01-06 18:41:32 +04:00
2019-08-16 13:31:52 +02:00
2020-08-28 10:02:47 +01:00
2020-09-23 13:41:58 +01:00
2020-09-01 12:07:52 +02:00
2019-09-11 08:46:17 +02:00
2020-07-07 14:54:29 +02:00
2018-09-26 08:55:54 -07:00
2019-04-18 22:18:59 +02:00
2019-08-16 13:31:52 +02:00
2018-08-24 20:26:37 +02:00
2018-12-20 10:29:08 +01:00