#450 closed defect (fixed)
psArrayElementFree() ?
| Reported by: | jhoblitt | Owned by: | eugene |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | IPP SDRS | Version: | unspecified |
| Severity: | minor | Keywords: | |
| Cc: | Eric.VanAlst@… |
Description
This function is currently defined in pslib. Is this worth adding to the SDRS
or should it be marked static?
void psArrayElementFree(psArray* psArr)
{
if (psArr == NULL) {
return;
}
for (psS32 i = 0; i < psArr->n; i++) {
psFree(psArr->data[i]);
psArr->data[i] = NULL;
}
}
Note:
See TracTickets
for help on using tickets.

It might be useful to the user. I have put it in the SDRS.