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

(cherry picked from commit 052b127842)
This commit is contained in:
Vinson Lee 2009-11-20 16:33:25 -08:00
parent c994f08eb1
commit 7005f7cd1a

View file

@ -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