Fixed bug during compilation.

yamux
Jose Marcial Vieira Bisneto 2017-01-05 21:18:50 -03:00
parent 6448a35a72
commit 3c3474eacd
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ void ipfs_cid_set_destroy (struct CidSet **set)
if (set) {
while (*set) {
prev = *set;
*set = *set->next;
*set = (*set)->next;
if (prev->cid) {
free (prev->cid);
}