MCPcopy Create free account
hub / github.com/OpenPrinting/cups / cupsdDestroyProfile

Function cupsdDestroyProfile

scheduler/process.c:370–383  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

368 */
369
370void
371cupsdDestroyProfile(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/*

Callers 3

cupsdStopServerFunction · 0.85
finalize_jobFunction · 0.85
start_jobFunction · 0.85

Calls 1

cupsdLogMessageFunction · 0.85

Tested by

no test coverage detected