On success, S3L_free_sparse returns S3L_SUCCESS.
On error, the following error code may be returned:
S3L_ERR_ARG_ARRAY - A is a NULL pointer (C/C++) or 0 (F77/F90).