- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
The copy constructor and operator= should be defined in CIppImage as this class contains a pointer to m_imageData. If implicit copy constructor or assignment operator are called, the destructor tries to release m_imageData twice, and fails.
Thank you.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting idana@picscout.com
Hi,
The copy constructor and operator= should be defined in CIppImage as this class contains a pointer to m_imageData. If implicit copy constructor or assignment operator are called, the destructor tries to release m_imageData twice, and fails.
Thank you.
Once again you are right! We didn't need this functionality for UIC, but for any other usage assignment operator should be in place.
Thank you,
Sergey

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page