/[baselayout]/trunk/src/librc-daemon.c
Gentoo

Diff of /trunk/src/librc-daemon.c

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

Revision 2883 Revision 2908
339 rename (ffile, oldfile); 339 rename (ffile, oldfile);
340 free (oldfile); 340 free (oldfile);
341 oldfile = ffile; 341 oldfile = ffile;
342 } 342 }
343 } 343 }
344 if (ffile)
345 free (ffile); 344 free (ffile);
346 free (files); 345 rc_strlist_free (files);
347 } 346 }
348 347
349 /* Now store our daemon info */ 348 /* Now store our daemon info */
350 if (started) { 349 if (started) {
351 char buffer[10]; 350 char buffer[10];
411 STRLIST_FOREACH (files, file, i) { 410 STRLIST_FOREACH (files, file, i) {
412 retval = _match_daemon (dirpath, file, mexec, NULL, NULL); 411 retval = _match_daemon (dirpath, file, mexec, NULL, NULL);
413 if (retval) 412 if (retval)
414 break; 413 break;
415 } 414 }
416 free (files); 415 rc_strlist_free (files);
417 } 416 }
418 417
419 free (mexec); 418 free (mexec);
420 return (retval); 419 return (retval);
421} 420}

Legend:
Removed from v.2883  
changed lines
  Added in v.2908

  ViewVC Help
Powered by ViewVC 1.1.20