diff options
author | Aron Xu <aron@debian.org> | 2014-10-26 07:04:07 +0800 |
---|---|---|
committer | Aron Xu <aron@debian.org> | 2014-10-26 07:04:07 +0800 |
commit | 4a5e25fad6693afda89b3826f73e83d826618863 (patch) | |
tree | 3c95fba1f4efbb63798bfa637bb6b335338cb1b0 /debian/patches/0025-Fix-an-fd-leak-in-an-error-case.patch | |
parent | d5776bbf9d8842d931ab1112466d19685035281e (diff) | |
download | libxml2-4a5e25fad6693afda89b3826f73e83d826618863.tar.gz |
Remove no-longer-needed upstream patches
Diffstat (limited to 'debian/patches/0025-Fix-an-fd-leak-in-an-error-case.patch')
-rw-r--r-- | debian/patches/0025-Fix-an-fd-leak-in-an-error-case.patch | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/debian/patches/0025-Fix-an-fd-leak-in-an-error-case.patch b/debian/patches/0025-Fix-an-fd-leak-in-an-error-case.patch deleted file mode 100644 index edf1752..0000000 --- a/debian/patches/0025-Fix-an-fd-leak-in-an-error-case.patch +++ /dev/null @@ -1,24 +0,0 @@ -From: Daniel Veillard <veillard@redhat.com> -Date: Thu, 6 Feb 2014 10:38:00 +0100 -Subject: Fix an fd leak in an error case - ---- - catalog.c | 5 +++++ - 1 file changed, 5 insertions(+) - -diff --git a/catalog.c b/catalog.c -index 8e34cd2..56991da 100644 ---- a/catalog.c -+++ b/catalog.c -@@ -994,6 +994,11 @@ xmlLoadFileContent(const char *filename) - content = (xmlChar*)xmlMallocAtomic(size + 10); - if (content == NULL) { - xmlCatalogErrMemory("allocating catalog data"); -+#ifdef HAVE_STAT -+ close(fd); -+#else -+ fclose(fd); -+#endif - return (NULL); - } - #ifdef HAVE_STAT |