/[pspp]/pspp/src/dictionary.c
ViewVC logotype

Diff of /pspp/src/dictionary.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.31 by blp, Wed Oct 26 05:06:14 2005 UTC revision 1.32 by jstover, Tue Nov 22 22:10:25 2005 UTC
# Line 24  Line 24 
24  #include "algorithm.h"  #include "algorithm.h"
25  #include "alloc.h"  #include "alloc.h"
26  #include "case.h"  #include "case.h"
27    #include "cat.h"
28  #include "error.h"  #include "error.h"
29  #include "hash.h"  #include "hash.h"
30  #include "misc.h"  #include "misc.h"
# Line 299  dict_create_var (struct dictionary *d, c Line 300  dict_create_var (struct dictionary *d, c
300    var_clear_short_name (v);    var_clear_short_name (v);
301    v->aux = NULL;    v->aux = NULL;
302    v->aux_dtor = NULL;    v->aux_dtor = NULL;
303      v->obs_vals = NULL;
304    
305    /* Update dictionary. */    /* Update dictionary. */
306    if (d->var_cnt >= d->var_cap)    if (d->var_cnt >= d->var_cap)
# Line 471  dict_delete_var (struct dictionary *d, s Line 473  dict_delete_var (struct dictionary *d, s
473    
474    /* Free memory. */    /* Free memory. */
475    val_labs_destroy (v->val_labs);    val_labs_destroy (v->val_labs);
476      cat_stored_values_destroy (v);
477    free (v->label);    free (v->label);
478    free (v);    free (v);
479  }  }

Legend:
Removed from v.1.31  
changed lines
  Added in v.1.32

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26