* Frees up the memory occupied by sdata, including the data elements of vals and index. */
| 1270 | * Frees up the memory occupied by sdata, including the data elements of vals and index. |
| 1271 | */ |
| 1272 | void freeSparseDataAndData(SparseData sdata) { |
| 1273 | pfree(sdata->vals->data); |
| 1274 | pfree(sdata->index->data); |
| 1275 | freeSparseData(sdata); |
| 1276 | } |
| 1277 | |
| 1278 | /** |
| 1279 | * @param sinfo The StringInfo structure to be copied |
no test coverage detected