diff options
Diffstat (limited to 'swaybar/status_line.c')
-rw-r--r-- | swaybar/status_line.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/swaybar/status_line.c b/swaybar/status_line.c index 744d2785..f0e2c300 100644 --- a/swaybar/status_line.c +++ b/swaybar/status_line.c | |||
@@ -12,7 +12,6 @@ | |||
12 | #include "swaybar/config.h" | 12 | #include "swaybar/config.h" |
13 | #include "swaybar/i3bar.h" | 13 | #include "swaybar/i3bar.h" |
14 | #include "swaybar/status_line.h" | 14 | #include "swaybar/status_line.h" |
15 | #include "readline.h" | ||
16 | 15 | ||
17 | static void status_line_close_fds(struct status_line *status) { | 16 | static void status_line_close_fds(struct status_line *status) { |
18 | if (status->read_fd != -1) { | 17 | if (status->read_fd != -1) { |
@@ -185,7 +184,6 @@ void status_line_free(struct status_line *status) { | |||
185 | } | 184 | } |
186 | free(status->read); | 185 | free(status->read); |
187 | free(status->write); | 186 | free(status->write); |
188 | free((char*) status->text); | ||
189 | free(status->buffer); | 187 | free(status->buffer); |
190 | free(status); | 188 | free(status); |
191 | } | 189 | } |