projects
/
platform
/
upstream
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee8c9a1
)
freedreno: do not leak drmVersion
author
Emil Velikov
<emil.l.velikov@gmail.com>
Wed, 12 Mar 2014 20:45:45 +0000
(20:45 +0000)
committer
Rob Clark
<robclark@freedesktop.org>
Sun, 16 Mar 2014 14:46:25 +0000
(10:46 -0400)
Cc: Rob Clark <robclark@freedesktop.org>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Rob Clark <robclark@freedesktop.org>
freedreno/freedreno_device.c
patch
|
blob
|
history
diff --git
a/freedreno/freedreno_device.c
b/freedreno/freedreno_device.c
index 598bdfbc077bdc2f600ea3ea268279db223f9989..c34963ce2b28aed2331bba9cefd8a8bdfac76808 100644
(file)
--- a/
freedreno/freedreno_device.c
+++ b/
freedreno/freedreno_device.c
@@
-98,6
+98,7
@@
struct fd_device * fd_device_new(int fd)
ERROR_MSG("unknown device: %s", version->name);
dev = NULL;
}
+ drmFreeVersion(version);
if (!dev)
return NULL;