2894e82f08b6ad70b942b488f06d381dc45e62b6
braney
  Thu Jun 27 09:05:26 2013 -0700
fix bug caused by my freeing memory that I was using as a cache.  D'oh!  refs #11165
diff --git src/hg/lib/hubConnect.c src/hg/lib/hubConnect.c
index d46cdee..045d798 100644
--- src/hg/lib/hubConnect.c
+++ src/hg/lib/hubConnect.c
@@ -709,36 +709,33 @@
         if (errCatch->gotError)
 	    {
 	    warn("%s", errCatch->message->string);
 	    hubUpdateStatus( errCatch->message->string, hub);
 	    }
 	else
 	    {
 	    if (!trackHubDatabase(database))
 		{
 		struct grp *grp = grpFromHub(hub);
 		slAddHead(&hubGroups, grp);
 		}
 	    hubUpdateStatus(NULL, hub);
 	    }
 
-	// we're going to free the hubConnectStatus list
-	hub->trackHub = NULL;
         errCatchFree(&errCatch);
 	}
     }
-hubConnectStatusFreeList(&hubList);
 
 hubTrackDbs = tdbList;
 if (pGroupList != NULL)
     *pGroupList = hubGroups;
 return tdbList;
 }
 
 static struct hubConnectStatus *globalHubList;
 
 struct hubConnectStatus *hubConnectGetHubs()
 /* return the static global to the track data hubs */
 {
 return globalHubList;
 }