]> err.no Git - dpkg/commitdiff
Fix memory leak
authorTollef Fog Heen <tfheen@err.no>
Sun, 20 Jul 2008 17:20:27 +0000 (19:20 +0200)
committerTollef Fog Heen <tfheen@err.no>
Sun, 20 Jul 2008 17:20:27 +0000 (19:20 +0200)
src/filters.c

index 4e7e31c848a7a7b239aed8e6561eaf1fd034d888..e38afc021b62b56e8547d5d864c305b9c95f88cc 100644 (file)
@@ -181,6 +181,7 @@ do_filter_should_skip(struct TarInfo *ti)
                                debug(dbg_eachfile, "tarobject reincluding %s",
                                      ti->Name);
                        }
+                       free(pattern);
                }
        }