src/hg/hgc/hgc.c 1.1528

1.1528 2009/04/22 22:44:02 mikep
dont need to free hti because it comes from a cache
Index: src/hg/hgc/hgc.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgc/hgc.c,v
retrieving revision 1.1527
retrieving revision 1.1528
diff -b -B -U 4 -r1.1527 -r1.1528
--- src/hg/hgc/hgc.c	17 Apr 2009 21:38:47 -0000	1.1527
+++ src/hg/hgc/hgc.c	22 Apr 2009 22:44:02 -0000	1.1528
@@ -1283,9 +1283,8 @@
 if (bedSize <= 3)
     sprintf(query, "select * from %s where chrom = '%s' and chromStart = %d", table, seqName, start);
 else
     {
-    // not sure how to free hti, I cant seen any code where an hti is ever freed.
     struct hTableInfo *hti = hFindTableInfoWithConn(conn, seqName, tdb->tableName);
     if (hti && *hti->nameField && differentString("name", hti->nameField))
 	sprintf(query, "select * from %s where %s = '%s' and chrom = '%s' and chromStart = %d",
 	    table, hti->nameField, escapedName, seqName, start);