Commit c892276f authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Remove vlc_free()

free() is required by ISO C (hosted) and C++ anyway.
parent ac382c3b
......@@ -849,13 +849,10 @@ VLC_API bool vlc_ureduce( unsigned *, unsigned *, uint64_t, uint64_t, uint64_t )
#ifdef __MINGW32__
# define vlc_memalign(align, size) (__mingw_aligned_malloc(size, align))
# define vlc_free(base) (__mingw_aligned_free(base))
#elif defined(_MSC_VER)
# define vlc_memalign(align, size) (_aligned_malloc(size, align))
# define vlc_free(base) (_aligned_free(base))
#else
# define vlc_memalign(align, size) aligned_alloc(align, size)
# define vlc_free(base) free(base)
#endif
/*****************************************************************************
......
......@@ -49,7 +49,7 @@ int CopyInitCache(copy_cache_t *cache, unsigned width)
void CopyCleanCache(copy_cache_t *cache)
{
#ifdef CAN_COMPILE_SSE2
vlc_free(cache->buffer);
free(cache->buffer);
cache->buffer = NULL;
cache->size = 0;
#else
......
......@@ -168,7 +168,7 @@ static void Close(vlc_object_t *object)
var_DelCallback(filter, CFG_PREFIX "radius", Callback, NULL);
var_DelCallback(filter, CFG_PREFIX "strength", Callback, NULL);
vlc_free(sys->cfg.buf);
free(sys->cfg.buf);
vlc_mutex_destroy(&sys->lock);
free(sys);
}
......
......@@ -110,7 +110,7 @@ static void picture_DestroyFromResource( picture_t *p_picture )
*/
static void picture_Destroy( picture_t *p_picture )
{
vlc_free( p_picture->p[0].p_pixels );
free( p_picture->p[0].p_pixels );
free( p_picture );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment