From: Michael R Sweet Date: Thu, 27 Nov 2025 23:23:59 +0000 (-0500) Subject: Fix coding style. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2cd482fe18b026b4b82cfd08b2f31f0a1933658f;p=thirdparty%2Fcups.git Fix coding style. --- diff --git a/scheduler/auth.c b/scheduler/auth.c index 802659481a..0e0d722377 100644 --- a/scheduler/auth.c +++ b/scheduler/auth.c @@ -1616,15 +1616,19 @@ cupsdFindOAuthGroup(const char *name) /* I - Group name */ * 'cupsdFreeLocation()' - Free all memory used by a location. */ -void cupsdFreeLocation(cupsd_location_t *loc, /* I - Location to free */ - void *data) /* Unused */ +void +cupsdFreeLocation( + cupsd_location_t *loc, /* I - Location to free */ + void *data) /* Unused */ { (void)data; + cupsArrayDelete(loc->names); cupsArrayDelete(loc->allow); cupsArrayDelete(loc->deny); _cupsStrFree(loc->location); + free(loc); }