From: Richard Kettlewell Date: Thu, 17 Jun 2010 20:13:47 +0000 (+0100) Subject: Fixed another null pointer deref in the same line! X-Git-Tag: branchpoint-5.1~73^2 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/commitdiff_plain/e71885d4393ce7adbfb026a8eb1463a4ba8a4457 Fixed another null pointer deref in the same line! Doh! --- diff --git a/disobedience/playlists.c b/disobedience/playlists.c index c1a857d..c95db43 100644 --- a/disobedience/playlists.c +++ b/disobedience/playlists.c @@ -601,7 +601,7 @@ static void playlist_new_details(char **namep, if(privatep) *privatep = private; if(namep) *namep = name; if(fullnamep) { - if(shared) *fullnamep = *namep; + if(shared) *fullnamep = name; else byte_xasprintf(fullnamep, "%s.%s", config->username, name); } }