/[path-sandbox]/trunk/src/sandbox.c
Gentoo

Diff of /trunk/src/sandbox.c

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

Revision 291 Revision 297
693 693
694 /* Start Bash */ 694 /* Start Bash */
695 if (!spawn_shell(argv_bash, sandbox_environ, print_debug)) 695 if (!spawn_shell(argv_bash, sandbox_environ, print_debug))
696 success = 0; 696 success = 0;
697 697
698 /* Free environ */
699 free(sandbox_environ);
700
701 /* Free bash stuff */ 698 /* Free bash stuff */
702 for (i = 0; i < 6; i++) { 699 for (i = 0; i < 6; i++) {
703 if (argv_bash[i]) 700 if (argv_bash[i])
704 free(argv_bash[i]); 701 free(argv_bash[i]);
705 argv_bash[i] = NULL; 702 argv_bash[i] = NULL;

Legend:
Removed from v.291  
changed lines
  Added in v.297

  ViewVC Help
Powered by ViewVC 1.1.20