~ubuntu-branches/ubuntu/saucy/augeas/saucy-proposed

« back to all changes in this revision

Viewing changes to src/jmt.c

  • Committer: Package Import Robot
  • Author(s): Nicolas Valcárcel Scerpella
  • Date: 2011-11-10 09:20:03 UTC
  • mto: (1.5.1) (19.1.11 precise)
  • mto: This revision was merged to the branch mainline in revision 22.
  • Revision ID: package-import@ubuntu.com-20111110092003-sb3z6bq97rlb96de
Tags: upstream-0.9.0
Import upstream version 0.9.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
113
113
}
114
114
 
115
115
static void array_release(struct array *arr) {
116
 
    if (arr != NULL)
 
116
    if (arr != NULL) {
117
117
        free(arr->data);
118
 
    arr->used = arr->size = 0;
 
118
        arr->used = arr->size = 0;
 
119
    }
119
120
}
120
121
 
121
122
static void array_remove(struct array *arr, ind_t ind) {