[PATCH 00/10] fix cppcheck and compiler warnings

Kristian Høgsberg hoegsberg at gmail.com
Mon Jul 9 14:44:50 PDT 2012


On Sun, Jul 08, 2012 at 03:03:37AM +0200, Martin Olsson wrote:
> These patches silence some issues found by the cppcheck
> static analyzer, and it also fixes two compiler warnings.

Thanks, that all looks good, applied

Kristian

> Martin Olsson (10):
>   clients: Add clients/weston-screensaver to clients/.gitignore
>   clients: Free resources on exit in eventdemo
>   clients: Don't leak "menu" on error path in clients/window.c
>   shared: Don't leak file descriptor in shared/image-loader.c
>   compositor-android: Add proper error handling in
>     android_compositor_create()
>   compositor-wayland: Add error handling in wayland_compositor_create()
>   compositor-x11: Add error handling in x11_compositor_create()
>   xwayland: Don't leak fd while reading lock file in
>     src/xwayland/launcher.c
>   wcap: Plug memory leak in wcap_decoder_create()
>   clients: Silence 2x gcc 4.6.3 "warn_unused_result" compiler warnings
> 
>  clients/.gitignore       |    1 +
>  clients/desktop-shell.c  |    3 ++-
>  clients/eventdemo.c      |   13 +++++++++++++
>  clients/window.c         |    7 +++++--
>  shared/image-loader.c    |    4 +++-
>  src/compositor-android.c |   22 +++++++++++++++-------
>  src/compositor-wayland.c |   22 +++++++++++++++-------
>  src/compositor-x11.c     |   24 +++++++++++++++++-------
>  src/xwayland/launcher.c  |    1 +
>  wcap/wcap-decode.c       |    4 +++-
>  10 files changed, 75 insertions(+), 26 deletions(-)
> 
> -- 
> 1.7.9.5
> 
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel


More information about the wayland-devel mailing list