diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2011-08-20 22:09:37 -0500 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2011-08-20 23:01:08 -0500 |
commit | aaca322aba8518f3825506f48def7db30fd800d4 (patch) | |
tree | 7f3a91f53eb4ea4b148af6210b81aa22ffc7339a /misc.c | |
parent | 14bf0c9f507611699d94c0e94ba7c4ecd834590b (diff) | |
download | slirp-aaca322aba8518f3825506f48def7db30fd800d4.zip slirp-aaca322aba8518f3825506f48def7db30fd800d4.tar.gz slirp-aaca322aba8518f3825506f48def7db30fd800d4.tar.bz2 |
Use glib memory allocation and free functions
qemu_malloc/qemu_free no longer exist after this commit.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'misc.c')
-rw-r--r-- | misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -175,7 +175,7 @@ int fork_exec(struct socket *so, const char *ex, int do_pty) close(s); i = 0; - bptr = qemu_strdup(ex); /* No need to free() this */ + bptr = g_strdup(ex); /* No need to free() this */ if (do_pty == 1) { /* Setup "slirp.telnetd -x" */ argv[i++] = "slirp.telnetd"; |