]> granicus.if.org Git - sudo/commitdiff
Quiet address sanitizer leak detector.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 28 Jan 2016 22:07:54 +0000 (15:07 -0700)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 28 Jan 2016 22:07:54 +0000 (15:07 -0700)
plugins/sudoers/visudo.c

index 62e8a5a983bce8c265d14f76ce18aaaef53bd30b..fba57d12523e17b99979235f3bdb3aeb79e66d49 100644 (file)
@@ -268,6 +268,7 @@ main(int argc, char *argv[])
                (void) install_sudoers(sp, oldperms);
        }
     }
+    free(editor);
 
 done:
     sudo_debug_exit_int(__func__, __FILE__, __LINE__, sudo_debug_subsys, exitcode);