Avoid copying buffer after dn_expand() fails