Skip to content

Commit

Permalink
Apply patches submitte by doughera++ in TT #1950 and TT #1953.
Browse files Browse the repository at this point in the history
  • Loading branch information
jkeenan committed Jan 12, 2011
1 parent be8f1a6 commit b51c019
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion config/gen/platform/generic/env.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ Parrot_setenv(PARROT_INTERP, STRING *str_name, STRING *str_value)
str_value);
char *envs = Parrot_str_to_platform_cstring(interp, str_envs);
putenv(envs);
Parrot_str_free_cstring(envs);
/* Can't free envs because the environment may still be
using it.
*/
#endif
}

Expand Down
3 changes: 2 additions & 1 deletion src/pbc_disassemble.c
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ static struct longopt_opt_decl options[] = {
#if TRACE_PACKFILE
{ 'D', 'D', OPTION_required_FLAG, { "--debug" } },
#endif
{ 'o', 'o', OPTION_required_FLAG, { "--output" } }
{ 'o', 'o', OPTION_required_FLAG, { "--output" } },
{ 0 , 0, 0, { NULL } }
};

/*
Expand Down

0 comments on commit b51c019

Please sign in to comment.