X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=netatalk.git;a=blobdiff_plain;f=etc%2Fafpd%2Fappl.c;h=e1e59db5760f027050a660ac707f842397968ed9;hp=379fae22efd1344dfee7ebdf6e7f01992c35b6ce;hb=edf01c724768d494e522ec84380e8e49b37a2bd6;hpb=bcbdb8f648b0ec46a6213967a0f3c7cf488a925d diff --git a/etc/afpd/appl.c b/etc/afpd/appl.c index 379fae22..e1e59db5 100644 --- a/etc/afpd/appl.c +++ b/etc/afpd/appl.c @@ -336,6 +336,7 @@ int afp_rmvappl(AFPObj *obj, char *ibuf, size_t ibuflen _U_, char *rbuf _U_, siz mpath = obj->newtmp; mp = makemacpath( vol, mpath, AFPOBJ_TMPSIZ, curdir, path->m_name ); if (!mp) { + close(tfd); return AFPERR_PARAM ; }