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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2006/9/10, Rene Scharfe <rene.scharfe@xxxxxxxxxxxxxx>:
 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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]