projects
/
profile
/
ivi
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b61e81a
)
Free the property blob along the error path.
author
Chris Wilson
<chris@chris-wilson.co.uk>
Tue, 24 Aug 2010 20:29:31 +0000
(21:29 +0100)
committer
Chris Wilson
<chris@chris-wilson.co.uk>
Tue, 24 Aug 2010 20:29:31 +0000
(21:29 +0100)
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
xf86drmMode.c
patch
|
blob
|
history
diff --git
a/xf86drmMode.c
b/xf86drmMode.c
index
ecb1fd5
..
0d268fc
100644
(file)
--- a/
xf86drmMode.c
+++ b/
xf86drmMode.c
@@
-619,7
+619,7
@@
drmModePropertyBlobPtr drmModeGetPropertyBlob(int fd, uint32_t blob_id)
}
if (!(r = drmMalloc(sizeof(*r))))
-
return NULL
;
+
goto err_allocs
;
r->id = blob.blob_id;
r->length = blob.length;