Browse Source

Bugfix: vcom_devinfo_scan: Clean up hashtable when done

Luke Dashjr 12 years ago
parent
commit
771693bddb
1 changed files with 1 additions and 0 deletions
  1. 1 0
      fpgautils.c

+ 1 - 0
fpgautils.c

@@ -750,6 +750,7 @@ struct lowlevel_device_info *vcom_devinfo_scan()
 	{
 		LL_PREPEND(devinfo_list, devinfo);
 	}
+	HASH_CLEAR(hh, devinfo_hash);
 	
 	return devinfo_list;
 }