ef9dd57d118f622f630b2d38bde182ee7a14316a angie Wed Feb 27 12:22:22 2013 -0800 bugfix: forgot to null out *pList in a FreeList function. diff --git src/lib/annoRow.c src/lib/annoRow.c index cc26b26..98d3ae6 100644 --- src/lib/annoRow.c +++ src/lib/annoRow.c @@ -90,16 +90,17 @@ else errAbort("annoRowFree: unrecognized type %d", source->rowType); } void annoRowFreeList(struct annoRow **pList, struct annoStreamer *source) /* Free a list of annoRows. */ { if (pList == NULL) return; struct annoRow *row, *nextRow; for (row = *pList; row != NULL; row = nextRow) { nextRow = row->next; annoRowFree(&row, source); } +*pList = NULL; }