diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-05-23 10:40:56 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-05-23 14:16:05 +0100 |
commit | bc9bcceb2e4646b15fff64b365ea2ff48ed00666 (patch) | |
tree | c90c0ff67b1e337f3ba3d3450f1e68d83093554c /svtools | |
parent | 77f79f29f03541fef0b6ab0373371ecbf504d8f1 (diff) |
coverity#708305 Uninitialized pointer field
Change-Id: I2c04b004e190e071e5977c06a8f5d878870bc966
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/dialogs/addresstemplate.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/svtools/source/dialogs/addresstemplate.cxx b/svtools/source/dialogs/addresstemplate.cxx index 16b4520be836..d39b8dabfb00 100644 --- a/svtools/source/dialogs/addresstemplate.cxx +++ b/svtools/source/dialogs/addresstemplate.cxx @@ -494,6 +494,8 @@ void AssignmentPersistentData::Commit() ,bWorkingPersistent( false ) ,pConfigData( new AssigmentTransientData( m_xTransientDataSource, _rDataSourceName, _rTableName, _rFields ) ) { + memset(pFieldLabels, 0, sizeof(pFieldLabels)); + memset(pFields, 0, sizeof(pFields)); } ~AddressBookSourceDialogData() |