Fixed bug during compilation.
This commit is contained in:
parent
6448a35a72
commit
3c3474eacd
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue