mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-29 15:16:21 +00:00
Fixed segfault in prof_history
This commit is contained in:
@@ -206,7 +206,7 @@ void start_session_add_new_submit_previous(void)
|
||||
assert_string_equals("hello", item1);
|
||||
|
||||
char *item2 = p_history_next(history, item1);
|
||||
assert_is_null(item2);
|
||||
assert_string_equals("", item2);
|
||||
|
||||
char *item3 = p_history_previous(history, "new text");
|
||||
assert_string_equals("hello", item3);
|
||||
|
||||
Reference in New Issue
Block a user