mirror of
https://codeberg.org/scip/pcp.git
synced 2025-12-17 03:50:57 +01:00
fixed segfault when fatals_ifany() called multiple times
This commit is contained in:
@@ -54,7 +54,10 @@ void fatals_ifany() {
|
||||
if(errno) {
|
||||
fprintf(stderr, "Error: %s\n", strerror(errno));
|
||||
}
|
||||
free(PCP_ERR);
|
||||
PCP_EXIT = 1;
|
||||
}
|
||||
}
|
||||
|
||||
void fatals_done() {
|
||||
free(PCP_ERR);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user