Revert "Fix memory leaks for paranoia_parallel."

This reverts commit cf825fd80a.
This commit is contained in:
Brian Taylor 2026-05-18 22:02:44 -07:00
parent 6801c16a0e
commit df95d04ba3
3 changed files with 3 additions and 5 deletions

View File

@ -9944,7 +9944,6 @@ int add_to_sourcepath(const char* filepath, const char* path)
scan_new = next;
}
if (!addwl) {
wl_free(startwl);
wl_free(wl);
tfree(fpath);
return 0; // Not an error.

View File

@ -153,11 +153,11 @@ OUTpBeginPlot(CKTcircuit *circuitPtr, JOB *analysisPtr,
" is more than the DRAM memory available (%sB)!\n",
cmemrequ, n, ctimesteps, cmemavail);
fprintf(stderr, " Swapping data to SSD may slow down the simulation.\n");
tfree(cmemrequ);
tfree(cmemavail);
tfree(ctimesteps);
#endif
}
tfree(cmemrequ);
tfree(cmemavail);
tfree(ctimesteps);
}
return ret;

View File

@ -278,7 +278,6 @@ NIiter(CKTcircuit *ckt, int maxIter)
fprintf(stderr, "too many iterations without convergence: %d iter's (max iter == %d)\n",
iterno, maxIter);
#endif
FREE(errMsg);
}
FREE(OldCKTstate0);
return(E_ITERLIM);