summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-09-24 19:33:10 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-09-24 19:34:40 +0900
commit222b49ba7c09a5c732754d8f1ae7c35f44716eb0 (patch)
treecf985c125c69619b1aa39bf04f37a6c07a686b39
parent92d39a9ed93e0fa67b314c78deaf60433ef1301e (diff)
ecore_x_vsync - fix tiny leaklet of drmversion
@fix
-rw-r--r--src/lib/ecore_x/xlib/ecore_x_vsync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ecore_x/xlib/ecore_x_vsync.c b/src/lib/ecore_x/xlib/ecore_x_vsync.c
index 748d1afa98..98fbc210e9 100644
--- a/src/lib/ecore_x/xlib/ecore_x_vsync.c
+++ b/src/lib/ecore_x/xlib/ecore_x_vsync.c
@@ -507,9 +507,9 @@ _drm_init(void)
507 ok = EINA_TRUE; 507 ok = EINA_TRUE;
508 } 508 }
509 } 509 }
510 sym_drmFreeVersion(drmver);
510 if (!ok) 511 if (!ok)
511 { 512 {
512 sym_drmFreeVersion(drmver);
513 close(drm_fd); 513 close(drm_fd);
514 return 0; 514 return 0;
515 } 515 }