Browse Source

Bugfix: free adhoc string elist element when removing it from list

Luke Dashjr 13 years ago
parent
commit
226c34b6b0
1 changed files with 1 additions and 0 deletions
  1. 1 0
      miner.h

+ 1 - 0
miner.h

@@ -323,6 +323,7 @@ static inline void string_elist_del(struct string_elist *item)
 	if (item->free_me)
 		free(item->string);
 	list_del(&item->list);
+	free(item);
 }