]> gitweb.ps.run Git - ps-cgit/commit
cgit_parse_commit(): Add missing call to xstrdup()
authorLars Hjemli <hjemli@gmail.com>
Sat, 27 Oct 2007 11:50:18 +0000 (13:50 +0200)
committerLars Hjemli <hjemli@gmail.com>
Sat, 27 Oct 2007 11:55:12 +0000 (13:55 +0200)
commitc61360fea0357672d2ab84a2c5a41ae1569f5d8a
treec0d55917537b1cbc8237ee63e3a1252abbdded40
parent13d2b0b25cf19de03c7cdcf8bb708be1168aeda7
cgit_parse_commit(): Add missing call to xstrdup()

It's rather silly to point into random memory-locations. Also, remove a
call to strdup() used on a literal char *.

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
parsing.c