diff options
| author | Louis Burda <quent.burda@gmail.com> | 2022-01-08 15:04:18 +0100 |
|---|---|---|
| committer | Louis Burda <quent.burda@gmail.com> | 2022-01-08 15:04:18 +0100 |
| commit | 019761cb13674f85468188b193e2fa7ff959f47f (patch) | |
| tree | a1f753d4d7b0ead8821dbb6366ef5e2e90fda41d /src/history.h | |
| parent | 43282adc30aadefb563ef26bea1233d4cbdb6007 (diff) | |
| download | tmus-019761cb13674f85468188b193e2fa7ff959f47f.tar.gz tmus-019761cb13674f85468188b193e2fa7ff959f47f.zip | |
Closed memory leaks
Diffstat (limited to 'src/history.h')
| -rw-r--r-- | src/history.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/history.h b/src/history.h index bbf4faa..f7d2a42 100644 --- a/src/history.h +++ b/src/history.h @@ -16,7 +16,7 @@ struct inputln { struct history { struct link list; - struct inputln *cmd, *query; + struct inputln *sel, *input; }; void history_init(struct history *history); @@ -28,7 +28,6 @@ void history_prev(struct history *history); void history_next(struct history *history); void history_add(struct history *history, struct inputln *line); -void history_pop(struct inputln *line); struct inputln *inputln_init(void); void inputln_free(struct inputln *ln); |
