comparison src/frame.c @ 52753:551e8ebadb62

Fix memory leaks (from YAMAMOTO Mitsuharu)
author Jan Djärv <jan.h.d@swipnet.se>
date Sun, 05 Oct 2003 12:15:39 +0000
parents 751a01f97570
children d08832a11cfd
comparison
equal deleted inserted replaced
52752:751a01f97570 52753:551e8ebadb62
1277 Vframe_list = Fdelq (frame, Vframe_list); 1277 Vframe_list = Fdelq (frame, Vframe_list);
1278 FRAME_SET_VISIBLE (f, 0); 1278 FRAME_SET_VISIBLE (f, 0);
1279 1279
1280 if (f->namebuf) 1280 if (f->namebuf)
1281 xfree (f->namebuf); 1281 xfree (f->namebuf);
1282 if (f->decode_mode_spec_buffer)
1283 xfree (f->decode_mode_spec_buffer);
1282 if (FRAME_INSERT_COST (f)) 1284 if (FRAME_INSERT_COST (f))
1283 xfree (FRAME_INSERT_COST (f)); 1285 xfree (FRAME_INSERT_COST (f));
1284 if (FRAME_DELETEN_COST (f)) 1286 if (FRAME_DELETEN_COST (f))
1285 xfree (FRAME_DELETEN_COST (f)); 1287 xfree (FRAME_DELETEN_COST (f));
1286 if (FRAME_INSERTN_COST (f)) 1288 if (FRAME_INSERTN_COST (f))