diff mbox series

[PATCH-for-5.1,2/4] qemu/osdep: Reword qemu_get_exec_dir() documentation

Message ID 20200714164257.23330-3-f4bug@amsat.org
State New
Headers show
Series misc: Document qemu_find_file and fix memory leak in avr_load_firmware | expand

Commit Message

Philippe Mathieu-Daudé July 14, 2020, 4:42 p.m. UTC
This comment is confuse, reword it a bit.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
---
 include/qemu/osdep.h | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/include/qemu/osdep.h b/include/qemu/osdep.h
index 979a403984..a96849dd90 100644
--- a/include/qemu/osdep.h
+++ b/include/qemu/osdep.h
@@ -588,7 +588,10 @@  char *qemu_get_local_state_pathname(const char *relative_pathname);
 void qemu_init_exec_dir(const char *argv0);
 
 /* Get the saved exec dir.
- * Caller needs to release the returned string by g_free() */
+ *
+ * The caller is responsible for releasing the value returned with g_free()
+ * after use.
+ */
 char *qemu_get_exec_dir(void);
 
 /**