Fix tmp file removal.

This commit is contained in:
Kurt Zeilenga 1999-01-08 19:51:15 +00:00
parent 3e818315f2
commit 1d7704b28e
2 changed files with 2 additions and 1 deletions

View file

@ -124,7 +124,7 @@ install-conf: FORCE
echo "PRESERVING EXISTING CONFIGURATION FILE $(sysconfdir)/$$i" ; \
fi; \
$(INSTALL) $(INSTALLFLAGS) -m 644 $$tmpcf $(sysconfdir)/$$i.default; \
$(RM) -f /tmp/slapd.$$ ; \
$(RM) -f $$tmpcf ; \
done
install-tools: FORCE

View file

@ -156,6 +156,7 @@ char *derefDN ( Backend *be,
free (newDN);
newDN = NULL;
free (remainder);
remainder = NULL;
break; /* no associated entry, dont deref */
}
else {