We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5bd7f2c commit 795966aCopy full SHA for 795966a
tty-resizer/tty-resizer.c
@@ -1,5 +1,5 @@
1
/*
2
- * Copyright (C) 2023, 2024, Yasumasa Suenaga
+ * Copyright (C) 2023, 2025, Yasumasa Suenaga
3
*
4
* This program is free software; you can redistribute it and/or
5
* modify it under the terms of the GNU General Public License
@@ -149,9 +149,9 @@ int main(int argc, char *argv[]){
149
if(rb != NULL){
150
ring_buffer__free(rb);
151
}
152
- if(ringbuf_received != NULL){
153
- free(ringbuf_received);
154
- }
+
+ free(ringbuf_received);
155
if(skel != NULL){
156
tty_resizer_bpf__destroy(skel);
157
0 commit comments