Allocate new memory for history items.
authorDaniel Carl <danielcarl@gmx.de>
Sat, 7 Feb 2015 10:55:14 +0000 (11:55 +0100)
committerDaniel Carl <danielcarl@gmx.de>
Sat, 7 Feb 2015 10:55:14 +0000 (11:55 +0100)
commit0b19f8879c4468807ecbee49abd93a0b1226b9f6
tree9d69730a381d2eaa78a76ef310efffb5e7c6c980
parent52c599ada83e6f47fd603d58550f3e3cb7385d42
Allocate new memory for history items.

This makes it easier to maintain the code and to avoid memory leaks.
src/bookmark.c
src/history.c
src/util.c
src/util.h