Re: [PATCH] git-upload-archive: add config option to allow only specified formats

From: Franck Bui-Huu <vagabon.xyz@gmail.com>
Date: 2006-09-11 05:07:36
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(+)

[snip]

>
> +       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
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Mon Sep 11 05:08:02 2006

This archive was generated by hypermail 2.1.8 : 2006-09-11 05:10:16 EST