63a3a58e1bfce5a0a8b44cb7b5f76d0c3c6b64a9 braney Fri May 3 11:18:58 2019 -0700 don't free memory that we didn't allocate diff --git src/hg/hgc/hgc.c src/hg/hgc/hgc.c index 464d6ee..b27b5c9 100644 --- src/hg/hgc/hgc.c +++ src/hg/hgc/hgc.c @@ -1626,31 +1626,30 @@ if (col->isList || col->isArray || col->lowType->stringy || asTypesIsInt(col->lowType->type)) printIdOrLinks(col, fieldToUrl, tdb, fields[ix]); else if (asTypesIsFloating(col->lowType->type)) { double valDouble = strtod(fields[ix],NULL); if (errno == 0 && valDouble != 0) printf("%g\n", valDouble); else printf("%s\n", fields[ix]); // decided not to print error } else printf("%s\n", fields[ix]); } asObjectFree(&as); -freeMem(fieldToUrl); if (skipIds) slFreeList(skipIds); if (sepFields) slFreeList(sepFields); if (count > 0) printf("\n"); return count; } void genericBedClick(struct sqlConnection *conn, struct trackDb *tdb, char *item, int start, int bedSize) /* Handle click in generic BED track. */ {