Changeset 1343 for trunk/MagicSoft/Cosy
- Timestamp:
- 06/03/02 15:58:47 (22 years ago)
- Location:
- trunk/MagicSoft/Cosy
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Cosy/Changelog
r1275 r1343 1 1 -*-*- END -*-*- 2 3 2002/06/03 - Thomas Bretz: 4 5 * gui/MGImage.cc: 6 - fixed a bug in the destructor while freeing fBuffer 7 8 2 9 3 10 2002/04/12 - Thomas Bretz: -
trunk/MagicSoft/Cosy/gui/MGImage.cc
r1111 r1343 144 144 pthread_mutex_lock((pthread_mutex_t*)fMuxPixmap); 145 145 146 char *b = *fBuffer; 146 cout << "Deleting fBuffer..." << endl; 147 148 char **b = fBuffer; 147 149 while (*b) 148 delete[] b++;150 delete[] *b++; 149 151 delete[] fBuffer; 152 153 cout << "Deleting Pixmap..." << endl; 150 154 151 155 if (fPixmap!=kNone) // @@@ 152 156 gVirtualX->DeletePixmap(fPixmap); // XFreePixmap(fDisplay, (Pixmap) pmap); 157 158 cout << "Deleting GC..." << endl; 159 153 160 gVirtualX->DeleteGC(fDefGC); // XFreeGC(fDisplay, (GC) gc); 154 161
Note:
See TracChangeset
for help on using the changeset viewer.