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() UBDocumentPublisher::~UBDocumentPublisher()
{ {
if(mSourceDocument){
delete mSourceDocument;
mSourceDocument = NULL;
}
if(mPublishingDocument){ if(mPublishingDocument){
delete mPublishingDocument; delete mPublishingDocument;
mPublishingDocument = NULL; mPublishingDocument = NULL;

Loading…
Cancel
Save