Merge branch 'jk/leak-checkers' into next
[gitweb.git] / builtin / add.c
index ef625e3fb8b4f880f85e8a0283ecc18392ce19b6..a648cf4c56c9f56eb60a97ca50ccf0b191dc50ff 100644 (file)
@@ -515,5 +515,7 @@ int cmd_add(int argc, const char **argv, const char *prefix)
                        die(_("Unable to write new index file"));
        }
 
+       UNLEAK(pathspec);
+       UNLEAK(dir);
        return exit_status;
 }