From 81e15f01bc35f55ad9f7637bb2071432f5c69cfe Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Wed, 28 Jun 2006 09:06:18 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=10540 --- checkin_notes | 2 ++ lib/gui_rpc_client_ops.C | 3 +++ 2 files changed, 5 insertions(+) diff --git a/checkin_notes b/checkin_notes index a98010ecfe..4361190bd1 100755 --- a/checkin_notes +++ b/checkin_notes @@ -6998,6 +6998,8 @@ Rom 28 June 2006 existing data structures. - Create build configurations for building the simple GUI since it is now turned off by default. + - When clearing out a gui rpc result structure, make sure the + pointers are nulled out. clientgui/ MainDocument.cpp, .h diff --git a/lib/gui_rpc_client_ops.C b/lib/gui_rpc_client_ops.C index 21d5a9a211..54092e6e2d 100644 --- a/lib/gui_rpc_client_ops.C +++ b/lib/gui_rpc_client_ops.C @@ -392,6 +392,9 @@ void RESULT::clear() { suspended_via_gui = false; project_suspended_via_gui = false; supports_graphics = false; + app = NULL; + wup = NULL; + project = NULL; } FILE_TRANSFER::FILE_TRANSFER() {