parse-duration: remove xalloc.h dependency
authorBruce Korb <bkorb@gnu.org>
Thu, 3 Mar 2011 23:07:32 +0000 (15:07 -0800)
committerBruce Korb <bkorb@gnu.org>
Thu, 3 Mar 2011 23:07:32 +0000 (15:07 -0800)
commit10169d19c63b2a88e6c63ba48a40a42dd290494c
tree9ed05aebe8cef6ea315d854bf843611eeda519c7
parent329c5b59c9ebfed10f51859a5d16fbe080835a24
parse-duration: remove xalloc.h dependency

* lib/parse-duration.c (parse_period): handle NULL return from
strdup instead of calling xstrdup().
* modules/parse-duration: remove "xalloc" dependency
ChangeLog
lib/parse-duration.c
modules/parse-duration