[vlc-devel] commit: Check malloc return value when needed and don' t print an error when such error happend. ( Rémi Duraffort )

git version control git at videolan.org
Thu May 22 23:28:49 CEST 2008


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Thu May 22 21:58:28 2008 +0200| [7eaca895c90b3f14ab208373d0213d0579515e70]

Check malloc return value when needed and don't print an error when such error happend.
Fix a potential segfault.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7eaca895c90b3f14ab208373d0213d0579515e70
---

 modules/video_output/aa.c           |    3 ---
 modules/video_output/caca.c         |    3 ---
 modules/video_output/directfb.c     |    3 ---
 modules/video_output/fb.c           |    5 -----
 modules/video_output/ggi.c          |    3 ---
 modules/video_output/glide.c        |    3 ---
 modules/video_output/hd1000v.cpp    |    5 +----
 modules/video_output/image.c        |    3 +++
 modules/video_output/mga.c          |    3 ---
 modules/video_output/msw/direct3d.c |    3 ---
 modules/video_output/msw/directx.c  |    3 ---
 modules/video_output/msw/events.c   |    9 ++++++---
 modules/video_output/msw/glwin32.c  |    3 ---
 modules/video_output/opengl.c       |   11 +----------
 modules/video_output/qte/qte.cpp    |    3 ---
 modules/video_output/x11/xcommon.c  |    6 ------
 16 files changed, 11 insertions(+), 58 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=7eaca895c90b3f14ab208373d0213d0579515e70



More information about the vlc-devel mailing list