Paolo Bonzini
090afdc5e6
cutils: replace strdup with g_strdup
...
Memory returned by get_relocated_path must be freed with
free or g_free depending on the path that the function
took; Coverity takes exception to this practice. The
fix lets caller use g_free as is standard in QEMU.
While at it, mention the requirements on the caller in
the doc comment.
Suggested-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2020-11-03 09:42:52 -05:00
..
2020-10-09 07:08:20 +02:00
2020-09-23 16:07:44 +01:00
2020-09-23 16:07:44 +01:00
2020-10-09 07:08:20 +02:00
2020-09-23 16:07:44 +01:00
2020-09-23 16:07:44 +01:00
2020-10-23 13:42:16 +01:00
2020-10-23 13:42:16 +01:00
2020-09-23 16:07:44 +01:00
2020-07-13 14:36:10 +01:00
2020-07-13 11:40:52 +02:00
2020-11-03 09:42:52 -05:00
2020-07-13 14:36:10 +01:00
2020-09-23 16:07:44 +01:00
2020-09-23 16:07:44 +01:00
2020-09-23 13:45:52 +01:00
2020-09-29 02:14:30 -04:00
2020-09-23 13:41:58 +01:00
2020-10-15 16:06:27 +02:00
2020-09-23 16:07:44 +01:00
2020-09-23 16:07:44 +01:00
2020-10-05 16:41:22 +02:00
2020-10-23 13:42:16 +01:00
2020-10-29 06:37:24 +01:00
2020-09-22 15:42:23 +01:00
2020-09-30 19:11:36 +02:00
2020-10-14 06:05:56 +02:00
2020-07-10 15:18:08 +02:00
2020-09-23 16:07:44 +01:00
2020-09-23 16:07:44 +01:00
2020-09-23 16:07:44 +01:00
2020-10-09 07:08:19 +02:00
2020-07-13 14:36:09 +01:00
2020-07-10 15:18:08 +02:00
2020-10-09 07:08:19 +02:00
2020-09-17 20:38:42 +02:00
2020-10-29 09:57:37 +00:00
2020-09-23 16:07:44 +01:00
2020-09-23 16:07:44 +01:00
2020-10-05 16:41:22 +02:00
2020-09-23 16:07:44 +01:00
2020-09-23 16:07:44 +01:00
2020-09-23 16:07:44 +01:00
2020-09-23 16:07:44 +01:00
2020-09-17 20:38:42 +02:00
2020-08-21 06:18:24 -04:00
2020-10-05 10:59:42 +01:00
2020-10-23 13:42:16 +01:00