Browse code

b/f: webconference: initialize ptr members to NULL in all constructors

Stefan Sayer authored on 16/07/2013 13:38:12
Showing 1 changed files
... ...
@@ -49,8 +49,9 @@ WebConferenceDialog::WebConferenceDialog(AmPromptCollection& prompts,
49 49
 					 WebConferenceFactory* my_f,
50 50
 					 const string& room)
51 51
   : play_list(this), separator(this, 0), prompts(prompts), state(None),
52
-    factory(my_f), muted(false), 
53
-    connect_ts(-1), disconnect_ts(-1)
52
+    factory(my_f), muted(false),
53
+    connect_ts(-1), disconnect_ts(-1),
54
+    local_input(NULL), cred(NULL)
54 55
 {
55 56
   conf_id = room;
56 57
   DBG("set conf_id to %s\n", conf_id.c_str());