Free the property blob along the error path.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
main
Chris Wilson 2010-08-24 21:29:31 +01:00
parent b61e81a191
commit 8a76244a0f
1 changed files with 1 additions and 1 deletions

View File

@ -619,7 +619,7 @@ drmModePropertyBlobPtr drmModeGetPropertyBlob(int fd, uint32_t blob_id)
} }
if (!(r = drmMalloc(sizeof(*r)))) if (!(r = drmMalloc(sizeof(*r))))
return NULL; goto err_allocs;
r->id = blob.blob_id; r->id = blob.blob_id;
r->length = blob.length; r->length = blob.length;