diff options
| author | Alejandro Colomar <alx@kernel.org> | 2023-01-26 00:14:19 +0100 |
|---|---|---|
| committer | Alejandro Colomar <alx@kernel.org> | 2023-01-26 01:01:55 +0100 |
| commit | 6d90fc705fef115879f7b4f063ad94c5cc143417 (patch) | |
| tree | f13ef8aa840c983ce84b2b3314635ae69e8cad88 | |
| parent | e3c1c81338abbf46b7cd4a568e2b260dd43ac5ff (diff) | |
| download | man-pages-6d90fc705fef115879f7b4f063ad94c5cc143417.tar.gz | |
tsearch.3: EXAMPLES: Don't else after noreturn
Signed-off-by: Alejandro Colomar <alx@kernel.org>
| -rw-r--r-- | man3/tsearch.3 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/man3/tsearch.3 b/man3/tsearch.3 index 7d56d9ab8d..f3989712f0 100644 --- a/man3/tsearch.3 +++ b/man3/tsearch.3 @@ -319,7 +319,7 @@ main(void) val = tsearch(ptr, &root, compare); if (val == NULL) exit(EXIT_FAILURE); - else if (*val != ptr) + if (*val != ptr) free(ptr); } twalk(root, action); |
