diff options
Diffstat (limited to 'block/curl.c')
-rw-r--r-- | block/curl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/curl.c b/block/curl.c index fe08f7b800..2cf72cb4e8 100644 --- a/block/curl.c +++ b/block/curl.c @@ -309,7 +309,7 @@ static int curl_open(BlockDriverState *bs, const char *filename, int flags) static int inited = 0; - file = strdup(filename); + file = qemu_strdup(filename); s->readahead_size = READ_AHEAD_SIZE; /* Parse a trailing ":readahead=#:" param, if present. */ |