]> Git Repo - qemu.git/commit
sparc: use g_strdup in place of unchecked strdup
authorJim Meyering <[email protected]>
Thu, 4 Oct 2012 11:09:45 +0000 (13:09 +0200)
committerAnthony Liguori <[email protected]>
Fri, 5 Oct 2012 12:58:36 +0000 (07:58 -0500)
commitbfad67399bcca8c1afbbc93593d365044d92f7c6
tree7eb73027506eca871ab9117a9103d4906757525c
parenta5cf8262e4eb9c4646434e2c6211ef8608db3233
sparc: use g_strdup in place of unchecked strdup

This avoids a NULL-deref upon strdup failure.
Also update matching free to g_free.

Signed-off-by: Jim Meyering <[email protected]>
Signed-off-by: Anthony Liguori <[email protected]>
target-sparc/cpu.c
This page took 0.022735 seconds and 4 git commands to generate.