]> git.sesse.net Git - vlc/blobdiff - plugins/filter/distort.c
* filters were using memalign but freeing p_data instead of p_data_orig.
[vlc] / plugins / filter / distort.c
index 80bfefff9534cdcb32fb7cd5aee6da066df7e009..b25bc8eca5a4e452f28ad01b5a526d936a4bf85f 100644 (file)
@@ -2,7 +2,7 @@
  * distort.c : Misc video effects plugin for vlc
  *****************************************************************************
  * Copyright (C) 2000, 2001 VideoLAN
- * $Id: distort.c,v 1.10 2002/04/19 13:56:11 sam Exp $
+ * $Id: distort.c,v 1.11 2002/05/19 12:57:32 gbazin Exp $
  *
  * Authors: Samuel Hocevar <sam@zoy.org>
  *
@@ -223,7 +223,7 @@ static void vout_End( vout_thread_t *p_vout )
     for( i_index = I_OUTPUTPICTURES ; i_index ; )
     {
         i_index--;
-        free( PP_OUTPUTPICTURE[ i_index ]->p_data );
+        free( PP_OUTPUTPICTURE[ i_index ]->p_data_orig );
     }
 }