src/inc/bbiFile.h 1.14

1.14 2009/08/13 21:48:11 braney
add some memory clean up routines
Index: src/inc/bbiFile.h
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/inc/bbiFile.h,v
retrieving revision 1.13
retrieving revision 1.14
diff -b -B -U 4 -r1.13 -r1.14
--- src/inc/bbiFile.h	12 Aug 2009 21:35:45 -0000	1.13
+++ src/inc/bbiFile.h	13 Aug 2009 21:48:11 -0000	1.14
@@ -265,11 +265,17 @@
 
 bits64 bbiTotalSummarySize(struct bbiSummary *list);
 /* Return size on disk of all summaries. */
 
+void bbiChromUsageFree(struct bbiChromUsage **pUsage);
+/* free a single bbiChromUsage structure */
+
+void bbiChromUsageFreeList(struct bbiChromUsage **pList);
+/* free a list of bbiChromUsage structures */
+
 struct bbiChromUsage *bbiChromUsageFromBedFile(struct lineFile *lf, 
 	struct hash *chromSizesHash, int *retMinDiff, double *retAveSize);
-/* Go through bed file and collect chromosomes and statistics. */
+/* Go through bed file and collect chromosomes and statistics. Free with bbiChromUsageFreeList */
 
 int bbiCountSectionsNeeded(struct bbiChromUsage *usageList, int itemsPerSlot);
 /* Count up number of sections needed for data. */