diff options
| -rw-r--r-- | man2/readlink.2 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/man2/readlink.2 b/man2/readlink.2 index b081ad5a21..2e2c536838 100644 --- a/man2/readlink.2 +++ b/man2/readlink.2 @@ -320,6 +320,8 @@ main(int argc, char *argv[]) printf("\(aq%s\(aq points to \(aq%s\(aq\\n", argv[1], linkname); + free(linkname); + exit(EXIT_SUCCESS); } .fi |
