X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=netatalk.git;a=blobdiff_plain;f=etc%2Fafpd%2Fcatsearch.c;h=68d28664f822c374868020af23fcf56d13c00c88;hp=1c913a0aab9de1fc008ea21b52cc789c724673e4;hb=3db065fc676b105a36f668df45a5d17d83aebb9b;hpb=fdd05d796c995399e9695dc22b4d9c8b9a358da3 diff --git a/etc/afpd/catsearch.c b/etc/afpd/catsearch.c index 1c913a0a..68d28664 100644 --- a/etc/afpd/catsearch.c +++ b/etc/afpd/catsearch.c @@ -418,7 +418,7 @@ static int crit_check(struct vol *vol, struct path *path) { result |= 1; crit_check_ret: if (adp != NULL) - ad_close_metadata(adp); + ad_close(adp, ADFLAGS_HF); return result; }