Mercurial > mplayer.hg
comparison libvo/gl_common.c @ 32537:8fa2f43cb760
Remove most of the NULL pointer check before free all over the code
author | cboesch |
---|---|
date | Sun, 14 Nov 2010 09:12:34 +0000 |
parents | 58232aeb3fdd |
children | 706871635af7 |
comparison
equal
deleted
inserted
replaced
32536:187f26cba0ce | 32537:8fa2f43cb760 |
---|---|
1141 } | 1141 } |
1142 break; | 1142 break; |
1143 default: | 1143 default: |
1144 mp_msg(MSGT_VO, MSGL_ERR, "[gl] unknown conversion type %i\n", conv); | 1144 mp_msg(MSGT_VO, MSGL_ERR, "[gl] unknown conversion type %i\n", conv); |
1145 } | 1145 } |
1146 if (lookup_data) | 1146 free(lookup_data); |
1147 free(lookup_data); | |
1148 } | 1147 } |
1149 | 1148 |
1150 /** | 1149 /** |
1151 * \brief adds a scaling texture read at the current fragment program position | 1150 * \brief adds a scaling texture read at the current fragment program position |
1152 * \param scaler type of scaler to insert | 1151 * \param scaler type of scaler to insert |