diff options
author | Jim Meyering <meyering@redhat.com> | 2012-08-22 13:55:56 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2012-08-22 10:47:14 -0500 |
commit | 15d9e3bc6af8a56af8c61911aab8453a54795db1 (patch) | |
tree | 305e30cba2410ba2863e2268573f3bf51faa4a56 /hw | |
parent | 396bef4b3846bf4e80a2bee38e9a2d8554d0f251 (diff) | |
download | hqemu-15d9e3bc6af8a56af8c61911aab8453a54795db1.zip hqemu-15d9e3bc6af8a56af8c61911aab8453a54795db1.tar.gz |
softmmu-semi: fix lock_user* functions not to deref NULL upon OOM
Return NULL upon malloc failure.
Signed-off-by: Jim Meyering <meyering@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw')
0 files changed, 0 insertions, 0 deletions