Skip to content

Commit 795966a

Browse files
committed
1 parent 5bd7f2c commit 795966a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tty-resizer/tty-resizer.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (C) 2023, 2024, Yasumasa Suenaga
2+
* Copyright (C) 2023, 2025, Yasumasa Suenaga
33
*
44
* This program is free software; you can redistribute it and/or
55
* modify it under the terms of the GNU General Public License
@@ -149,9 +149,9 @@ int main(int argc, char *argv[]){
149149
if(rb != NULL){
150150
ring_buffer__free(rb);
151151
}
152-
if(ringbuf_received != NULL){
153-
free(ringbuf_received);
154-
}
152+
153+
free(ringbuf_received);
154+
155155
if(skel != NULL){
156156
tty_resizer_bpf__destroy(skel);
157157
}

0 commit comments

Comments
 (0)