forked from github/server
resource leak: forgot to free recruitment data.
This commit is contained in:
parent
061cadfce8
commit
55016e8a02
|
@ -125,6 +125,7 @@ void free_recruitments(recruitment * recruits)
|
||||||
recruitment *rec = recruits;
|
recruitment *rec = recruits;
|
||||||
recruits = rec->next;
|
recruits = rec->next;
|
||||||
free_requests(rec->requests);
|
free_requests(rec->requests);
|
||||||
|
free(rec);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue