[vlc-devel] [PATCH 5/7] Puzzle: main filter update

Denis Charmet typx at dinauz.org
Mon Apr 15 18:08:42 CEST 2013


Le lundi 15 avril 2013 à 02:17:47, Vianney Boyer a écrit :
> +    /* Generate values of random bezier shapes */
> +    p_sys->ps_bezier_pts_H = calloc( SHAPES_QTY, sizeof( point_t *) );
> +    if( !p_sys->ps_bezier_pts_H )
> +        return VLC_ENOMEM;
Leak
> +    for (int32_t i_shape = 0; i_shape<SHAPES_QTY; i_shape++)
> +        p_sys->ps_bezier_pts_H[i_shape] = puzzle_rand_bezier(7);
>

Regards,

-- 
TypX
Le mauvais esprit est un art de vivre



More information about the vlc-devel mailing list