Fixed memory release but. Isn't the role of UBDocumentPublisher to release the UBDocumentProxy

preferencesAboutTextFull
Claudio Valerio 13 years ago
parent 32ffe931e5
commit c408dec596
  1. 5
      src/adaptors/publishing/UBDocumentPublisher.cpp

@ -63,11 +63,6 @@ UBDocumentPublisher::UBDocumentPublisher(UBDocumentProxy* pDocument, QObject *pa
UBDocumentPublisher::~UBDocumentPublisher()
{
if(mSourceDocument){
delete mSourceDocument;
mSourceDocument = NULL;
}
if(mPublishingDocument){
delete mPublishingDocument;
mPublishingDocument = NULL;

Loading…
Cancel
Save