Use common string allocation and freeing functions where applicable.
authorDmitry Antipov <dmantipov@yandex.ru>
Fri, 30 May 2014 13:22:29 +0000 (17:22 +0400)
committerDmitry Antipov <dmantipov@yandex.ru>
Fri, 30 May 2014 13:22:29 +0000 (17:22 +0400)
commita084532342d401455a818a1132d4aa1bc58a0d69
tree7ae86c40d7c47ef7165d99efabb97135f527df11
parente50e034033a3ec5eae90a7fbcb6d2da0b5111787
Use common string allocation and freeing functions where applicable.
* lwlib.h (safe_strdup): Remove prototype.
* lwlib.c (safe_strdup, safe_free_str): Remove.
(copy_widget_value_tree, allocate_widget_info, free_widget_info):
(merge_widget_value): Prefer xstrdup, xfree and dupstring.
* lwlib-Xm.c (make_destroyed_instance, xm_update_one_value): Ditto.
lwlib/ChangeLog
lwlib/lwlib-Xm.c
lwlib/lwlib-int.h
lwlib/lwlib.c