commit | bfad67399bcca8c1afbbc93593d365044d92f7c6 | [log] [tgz] |
---|---|---|
author | Jim Meyering <meyering@redhat.com> | Thu Oct 04 13:09:45 2012 +0200 |
committer | Anthony Liguori <aliguori@us.ibm.com> | Fri Oct 05 07:58:36 2012 -0500 |
tree | 7eb73027506eca871ab9117a9103d4906757525c | |
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>