hal: free tmp_val in one missing case
Pointed out by coverity scan. Signed-off-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Daniel Stone <daniel@fooishbar.org>
This commit is contained in:
		
							parent
							
								
									41229392b7
								
							
						
					
					
						commit
						8d3731a811
					
				|  | @ -348,6 +348,7 @@ device_added(LibHalContext *hal_ctx, const char *udi) | |||
|                         if (!strcasecmp(tmp, ".options") && (!xkb_opts.options)) | ||||
|                             xkb_opts.options = strdup(tmp_val); | ||||
|                     } | ||||
|                     free(tmp_val); | ||||
|                 } | ||||
|             } | ||||
|         } | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue