瀏覽代碼

st/egl: Fix memory leak in egl_tracker.c.

(cherry picked from commit 052b127842)
tags/mesa_7_6_1_rc3
Vinson Lee 15 年之前
父節點
當前提交
7005f7cd1a
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      src/gallium/state_trackers/egl/egl_tracker.c

+ 1
- 1
src/gallium/state_trackers/egl/egl_tracker.c 查看文件

@@ -85,11 +85,11 @@ drm_get_device_id(struct drm_device *device)
}

ret = fgets(path, sizeof( path ), file);
fclose(file);
if (!ret)
return;

sscanf(path, "%x", &device->deviceID);
fclose(file);
}

static void

Loading…
取消
儲存