Skip to content
Snippets Groups Projects
Commit 43f5b503 authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

fix memory ownership

parent 71dfd57e
Branches
Tags
No related merge requests found
......@@ -162,7 +162,7 @@ rewrite_var_set(
assert( var->lv_value.bv_val != NULL );
free( var->lv_value.bv_val );
var->lv_value.bv_val = ( char * )value;
var->lv_value.bv_val = strdup( value );
var->lv_value.bv_len = strlen( value );
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment