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

This commit is contained in:
Vinson Lee 2009-11-20 16:33:25 -08:00
parent ea98e9820d
commit 052b127842
1 changed files with 1 additions and 1 deletions

View File

@ -88,11 +88,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