Skip to content

Commit d450ccc

Browse files
committed
qemu/osdep: Reword qemu_get_exec_dir() documentation
This comment is confuse, reword it a bit. Signed-off-by: Philippe Mathieu-Daudé <[email protected]> Reviewed-by: Michael Rolnik <[email protected]> Tested-by: Michael Rolnik <[email protected]> Reviewed-by: Daniel P. Berrangé <[email protected]> Message-Id: <[email protected]>
1 parent 7da1d7d commit d450ccc

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

include/qemu/osdep.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,10 @@ char *qemu_get_local_state_pathname(const char *relative_pathname);
588588
void qemu_init_exec_dir(const char *argv0);
589589

590590
/* Get the saved exec dir.
591-
* Caller needs to release the returned string by g_free() */
591+
*
592+
* The caller is responsible for releasing the value returned with g_free()
593+
* after use.
594+
*/
592595
char *qemu_get_exec_dir(void);
593596

594597
/**

0 commit comments

Comments
 (0)