diff options
author | Völgyes Dávid <david.volgyes@gmail.com> | 2011-07-06 10:10:20 -0400 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2011-07-06 10:11:04 -0400 |
commit | f747d03b1d3aa4e63417bd8486909f63b4a33be4 (patch) | |
tree | 045c4ea814b6d54315f033d41eb098f1e9a1da82 /src/egl/wayland/wayland-drm | |
parent | e53b41f2632af26c79c4f7ed5b0fdb86a1feb602 (diff) | |
download | external_mesa3d-f747d03b1d3aa4e63417bd8486909f63b4a33be4.zip external_mesa3d-f747d03b1d3aa4e63417bd8486909f63b4a33be4.tar.gz external_mesa3d-f747d03b1d3aa4e63417bd8486909f63b4a33be4.tar.bz2 |
Fixes for leaks reported by cppcheck.
Diffstat (limited to 'src/egl/wayland/wayland-drm')
-rw-r--r-- | src/egl/wayland/wayland-drm/wayland-drm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/egl/wayland/wayland-drm/wayland-drm.c b/src/egl/wayland/wayland-drm/wayland-drm.c index 3023cd0..ec96c04 100644 --- a/src/egl/wayland/wayland-drm/wayland-drm.c +++ b/src/egl/wayland/wayland-drm/wayland-drm.c @@ -104,6 +104,7 @@ drm_create_buffer(struct wl_client *client, struct wl_drm *drm, wl_client_post_error(client, &drm->object, WL_DRM_ERROR_INVALID_VISUAL, "invalid visual"); + free(buffer); return; } |