o 119 src/database.c free_orphan(orphan *o) { o 120 src/database.c free(o->tabname); o 121 src/database.c free(o->fname); o 122 src/database.c free(o->uname); o 123 src/database.c free(o); o 129 src/database.c orphan *o = orphans; o 131 src/database.c while (o != NULL) { o 132 src/database.c if (getpwnam(o->uname) != NULL) { o 133 src/database.c orphan *next = o->next; o 141 src/database.c process_crontab(o->uname, o->fname, o->tabname, o 148 src/database.c free_orphan(o); o 149 src/database.c o = next; o 151 src/database.c prev_orphan = o; o 152 src/database.c o = o->next; o 159 src/database.c orphan *o; o 161 src/database.c for (o = orphans; o != NULL; o = o->next) { o 162 src/database.c if (uname && o->uname) { o 163 src/database.c if (strcmp(uname, o->uname) != 0) o 165 src/database.c } else if (uname != o->uname) o 168 src/database.c if (fname && o->fname) { o 169 src/database.c if (strcmp(fname, o->fname) != 0) o 171 src/database.c } else if (fname != o->fname) o 174 src/database.c if (tabname && o->tabname) { o 175 src/database.c if (strcmp(tabname, o->tabname) != 0) o 177 src/database.c } else if (tabname != o->tabname) o 187 src/database.c orphan *o; o 192 src/database.c o = calloc(1, sizeof(*o)); o 193 src/database.c if (o == NULL) o 197 src/database.c if ((o->uname=strdup(uname)) == NULL) o 201 src/database.c if ((o->fname=strdup(fname)) == NULL) o 205 src/database.c if ((o->tabname=strdup(tabname)) == NULL) o 208 src/database.c o->next = orphans; o 209 src/database.c orphans = o; o 213 src/database.c free_orphan(o);