playlist/pls: don't free stack buffer
This commit is contained in:
		
							
								
								
									
										1
									
								
								NEWS
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								NEWS
									
									
									
									
									
								
							@@ -1,5 +1,6 @@
 | 
				
			|||||||
ver 0.18.7 (not yet released)
 | 
					ver 0.18.7 (not yet released)
 | 
				
			||||||
* playlist
 | 
					* playlist
 | 
				
			||||||
 | 
					  - pls: fix crash after parser error
 | 
				
			||||||
  - soundcloud: fix build failure with libyajl 2.0.1
 | 
					  - soundcloud: fix build failure with libyajl 2.0.1
 | 
				
			||||||
* daemon: don't initialize supplementary groups when already running
 | 
					* daemon: don't initialize supplementary groups when already running
 | 
				
			||||||
  as the configured user
 | 
					  as the configured user
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -68,7 +68,6 @@ pls_parser(GKeyFile *keyfile, std::forward_list<SongPointer> &songs)
 | 
				
			|||||||
			FormatError(pls_domain, "Invalid PLS entry %s: '%s'",
 | 
								FormatError(pls_domain, "Invalid PLS entry %s: '%s'",
 | 
				
			||||||
				    key, error->message);
 | 
									    key, error->message);
 | 
				
			||||||
			g_error_free(error);
 | 
								g_error_free(error);
 | 
				
			||||||
			g_free(key);
 | 
					 | 
				
			||||||
			return;
 | 
								return;
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user