comparison font/font_face.cc @ 7:fa8511a21d05

Fixes somes memory leaks
author thib
date Tue, 05 Aug 2008 10:06:04 +0000
parents 223b71206888
children 15a18fbe6f21
comparison
equal deleted inserted replaced
6:2c890434e30f 7:fa8511a21d05
69 } else { 69 } else {
70 peer.push_back(new PeerX11(name, index, hsize, vsize)); 70 peer.push_back(new PeerX11(name, index, hsize, vsize));
71 #endif 71 #endif
72 } 72 }
73 } 73 }
74 delete[] name;
74 return; 75 return;
75 } 76 }
76 77
77 Face::~Face() { 78 Face::~Face() {
78 delete cache; 79 delete cache;