aboutsummaryrefslogtreecommitdiff
path: root/misc.c
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2011-08-20 22:09:37 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2011-08-20 23:01:08 -0500
commitaaca322aba8518f3825506f48def7db30fd800d4 (patch)
tree7f3a91f53eb4ea4b148af6210b81aa22ffc7339a /misc.c
parent14bf0c9f507611699d94c0e94ba7c4ecd834590b (diff)
downloadslirp-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc.c b/misc.c
index a24d2cb..15e118c 100644
--- a/misc.c
+++ b/misc.c
@@ -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";