[pan: 1/22] post-ui had a huge number of uninitialised pointers
- From: Dominique Dumont <ddumont src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pan: 1/22] post-ui had a huge number of uninitialised pointers
- Date: Sun, 18 Sep 2022 16:35:37 +0000 (UTC)
commit 93c23f28c2b4083661ccf482567c443c43693de6
Author: Thomas Tanner <thosrtanner googlemail com>
Date: Sun Jun 26 15:16:29 2022 +0100
post-ui had a huge number of uninitialised pointers
pan/gui/post-ui.cc | 39 ++++++++++++++++++++++++++-------------
1 file changed, 26 insertions(+), 13 deletions(-)
---
diff --git a/pan/gui/post-ui.cc b/pan/gui/post-ui.cc
index b7417cc..5cc7e47 100644
--- a/pan/gui/post-ui.cc
+++ b/pan/gui/post-ui.cc
@@ -3097,34 +3097,48 @@ PostUI :: PostUI (GtkWindow * parent,
_profiles (profiles),
_prefs (prefs),
_group_prefs (group_prefs),
- _cache (cache),
- _root (0),
+ _root (),
+ _part_select(nullptr),
_from_combo (0),
_subject_entry (0),
_groups_entry (0),
+ _filequeue_store(nullptr),
+ _parts_store(nullptr),
_to_entry (0),
_followupto_entry (0),
_replyto_entry (0),
_body_view (0),
+ _user_agent_check(nullptr),
+ _message_id_check(nullptr),
_body_buf (0),
- _message (0),
+ _headers_buf(nullptr),
+ _message (message),
_charset (DEFAULT_CHARSET),
- _group_entry_changed_id (0),
- _group_entry_changed_idle_tag (0),
+ _uim(nullptr),
+ _post_task(nullptr),
+ _wrap_pixels(0),
+ _enc(GMIME_CONTENT_ENCODING_8BIT),
_file_queue_empty(true),
_upload_ptr(0),
_total_parts(0),
+ _uploads(0),
+ _realized(false),
+ _agroup(0),
+ //body_view_realized_handler is set up in the code below
+ _filequeue_eventbox (0),
+ _filequeue_label (0),
+ _body_changed_id(0),
+ _body_changed_idle_tag(0),
+ _group_entry_changed_idle_tag (0),
+ _group_entry_changed_id (0),
+ _cache (cache),
+ _spawner_action(nullptr),
_running_uploads(0),
_draft_autosave_id(0),
_draft_autosave_timeout(0),
_draft_autosave_idle_tag(0),
- _body_changed_id(0),
- _body_changed_idle_tag(0),
- _filequeue_eventbox (0),
- _filequeue_label (0),
- _realized(false),
- _uploads(0),
- _enc(GMIME_CONTENT_ENCODING_8BIT)
+ _notebook(nullptr),
+ delete_override(0)
{
_upload_queue.add_listener (this);
@@ -3191,7 +3205,6 @@ PostUI :: PostUI (GtkWindow * parent,
// remember this message, but don't put it in the text view yet.
// we have to wait for it to be realized first so that wrapping
// will work correctly.
- _message = message;
g_object_ref (G_OBJECT(_message));
body_view_realized_handler = g_signal_connect (_body_view, "realize", G_CALLBACK(body_view_realized_cb),
this);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]