]> git.ozlabs.org Git - petitboot/commit
lib/url: talloc from new URL in pb_url_copy
authorJeremy Kerr <jk@ozlabs.org>
Thu, 26 Sep 2013 03:44:33 +0000 (11:44 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Thu, 26 Sep 2013 07:20:59 +0000 (15:20 +0800)
commit8ad9aba4b4463c9231eb441c81694686443b011a
tree9e2df7980f2c7247ea00e554ab1fcc0a1e505354
parent384d406380d8bf164ed2ca3879488cc4974239be
lib/url: talloc from new URL in pb_url_copy

We're ending up with members of new_url being allocated from the old
URL's context. We should be tallocing from the new_url instead.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
lib/url/url.c