Re: [PATCH] git-upload-archive: add config option to allow only specified formats
2006/9/10, Rene Scharfe <rene.scharfe@lsrfire.ath.cx>:
> Documentation/config.txt | 5 +++++
> builtin-upload-archive.c | 39 +++++++++++++++++++++++++++++++++++++++
> daemon.c | 2 ++
> 3 files changed, 46 insertions(+)
Show 5 quoted lines
>
> + if (!upload_format_allowed(ar.name)) {
> + free(daemon_formats);
> + die("upload of %s format forbidden\n", ar.name);
> + }just out of curiousity, why "free(daemon_formats)" right before a "die()" ?
--
Franck