diff options
author | Jim Meyering <meyering@redhat.com> | 2012-10-04 13:09:45 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2012-10-05 07:58:36 -0500 |
commit | bfad67399bcca8c1afbbc93593d365044d92f7c6 (patch) | |
tree | 7eb73027506eca871ab9117a9103d4906757525c /block.c | |
parent | a5cf8262e4eb9c4646434e2c6211ef8608db3233 (diff) |
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 <meyering@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'block.c')
0 files changed, 0 insertions, 0 deletions