12 ms·
> What if you cannot do that report because the reporting itself needs memory that can fail? Allocate and reserve error-reporting memory early. For example, yo
by fwip 7y ago
> What if you cannot do that report because the reporting itself needs memory that can fail?
Allocate and reserve error-reporting memory early. For example, your ErrorReporter instance is initialized at start-up, and doesn't call malloc() when you make a report.