changeset 77:7299649d578f src

Remove erroneous free(). The address operator is wrong and the memory actually meant to be freed has already been freed by ifoFree_PGC() anyway.
author ib
date Wed, 12 Dec 2012 14:21:16 +0000
parents 677e09255a1c
children 1b8797855771
files ifo_read.c
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ifo_read.c	Sun Dec 09 22:03:38 2012 +0000
+++ b/ifo_read.c	Wed Dec 12 14:21:16 2012 +0000
@@ -1932,7 +1932,6 @@
     for(i = 0; i < (*pgcit)->nr_of_pgci_srp; i++)
     {
       ifoFree_PGC(&(*pgcit)->pgci_srp[i].pgc);
-      free(&(*pgcit)->pgci_srp[i].pgc);
     }
     free((*pgcit)->pgci_srp);
     free(*pgcit);