Home
last modified time | relevance | path

Searched hist:"45 b00c44ceffeac8143fb8857a12677234114f2b" (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/contrib/ivshmem-client/
H A Dmain.cdiff 45b00c44ceffeac8143fb8857a12677234114f2b Wed Jun 24 06:33:32 CDT 2015 Marc-André Lureau <marcandre.lureau@redhat.com> contrib: remove unnecessary strdup()

getopt() optarg points to argv memory, no need to dup those values,
fixes small leaks detected by clang-analyzer.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
/openbmc/qemu/contrib/ivshmem-server/
H A Dmain.cdiff 45b00c44ceffeac8143fb8857a12677234114f2b Wed Jun 24 06:33:32 CDT 2015 Marc-André Lureau <marcandre.lureau@redhat.com> contrib: remove unnecessary strdup()

getopt() optarg points to argv memory, no need to dup those values,
fixes small leaks detected by clang-analyzer.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>