[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
From: |
Gavin D. Smith |
Date: |
Sun, 20 Mar 2022 04:55:17 -0400 (EDT) |
branch: master
commit c08d3bc5081051f2fb7846c7528b9987672e41ff
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Wed Oct 16 13:01:23 2019 +0100
avoid passing a null pointer
---
js/wkinfo/main.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/js/wkinfo/main.c b/js/wkinfo/main.c
index afc59a868a..fdbd5d5e5f 100644
--- a/js/wkinfo/main.c
+++ b/js/wkinfo/main.c
@@ -135,7 +135,8 @@ match_selected_cb (GtkEntryCompletion *widget,
void
clear_completions (void)
{
- gtk_list_store_clear (index_store);
+ if (index_store)
+ gtk_list_store_clear (index_store);
}
void
- [no subject], (continued)
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject],
Gavin D. Smith <=
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20