dvdnav: fix invalid free in dvdnav_free_dup
authorJohn Stebbins <jstebbins@jetheaddev.com>
Fri, 22 Aug 2014 19:06:41 +0000 (12:06 -0700)
committerJohn Stebbins <jstebbins@jetheaddev.com>
Fri, 22 Aug 2014 19:06:41 +0000 (12:06 -0700)
commit93f9aa5947321f90d19f74a60eeaceff8fd09f71
tree29afe0720e0b1dfb5531e477c09649c673df7cbd
parent79354a065eab2f3472253f09a2645d03565257a9
dvdnav: fix invalid free in dvdnav_free_dup

When path was changed from char[] to char*, a free was added to
dvdnav_free_dup, but the string was not copied in dvdnav_dup resulting
in a double free.
src/dvdnav.c