Branch: Tag:

2000-01-30

2000-01-30 22:14:05 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

fixed a memory leak

Rev: src/modules/Image/layers.c:1.40

1:   /*   **! module Image   **! note - **! $Id: layers.c,v 1.39 1999/11/24 12:09:54 jonasw Exp $ + **! $Id: layers.c,v 1.40 2000/01/30 22:14:05 hubbe Exp $   **! class Layer   **! see also: layers   **!
215:      #include <math.h> /* floor */    - RCSID("$Id: layers.c,v 1.39 1999/11/24 12:09:54 jonasw Exp $"); + RCSID("$Id: layers.c,v 1.40 2000/01/30 22:14:05 hubbe Exp $");      #include "image_machine.h"   
928:    pop_n_elems(args);       for (i=0; i<LAYER_MODES; i++) -  ref_push_string(make_shared_string(layer_mode[i].desc)); +  push_string(make_shared_string(layer_mode[i].desc));       f_aggregate(LAYER_MODES);   }