aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--exec.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/exec.cpp b/exec.cpp
index 7897cafc..4f86d981 100644
--- a/exec.cpp
+++ b/exec.cpp
@@ -1201,9 +1201,7 @@ void exec( parser_t &parser, job_t *j )
if( orig_def )
{
- //def = (wchar_t *)halloc_register( j, const_cast<wchar_t *>(orig_def) );
- // PCA LEAKS
- def = (wchar_t *)orig_def;
+ def = (wchar_t *)halloc_register( j, const_cast<wchar_t *>(orig_def) );
}
if( def == 0 )
{