Branch: Tag:

2016-09-09

2016-09-09 16:14:40 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler [cpp]: Fixed refcount bug in simple_add_define().

1688:   {       struct pike_string *name_str = make_define_name(this, name); -  add_define(this, name_str, make_shared_string(what)); +  struct pike_string *what_str = make_shared_string(what); +  add_define(this, name_str, what_str); +  free_string(what_str);    free_string(name_str);   }