| 368 | */ |
| 369 | |
| 370 | void |
| 371 | cupsdDestroyProfile(void *profile) /* I - Profile */ |
| 372 | { |
| 373 | cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdDeleteProfile(profile=\"%s\")", |
| 374 | profile ? (char *)profile : "(null)"); |
| 375 | |
| 376 | #ifdef HAVE_SANDBOX_H |
| 377 | if (profile) |
| 378 | { |
| 379 | unlink((char *)profile); |
| 380 | free(profile); |
| 381 | } |
| 382 | #endif /* HAVE_SANDBOX_H */ |
| 383 | } |
| 384 | |
| 385 | |
| 386 | /* |
no test coverage detected