bf91aa journald: free the allocated memory before returning from dev_kmsg_record

1 file Authored by Evgeny Vereshchagin 4 years ago, Committed by Packit Service 4 years ago,
    journald: free the allocated memory before returning from dev_kmsg_record
    
    This fixes a minor memory leak.
    
    (cherry picked from commit 30eddcd51b8a472e05d3b8d1f0b89fbd3e094d71)
    
    Resolves: #1696224
    
    patch_name: 0142-journald-free-the-allocated-memory-before-returning-.patch
    present_in_specfile: true
    location_in_specfile: 142
    squash_commits: true
    
        
file modified
+1 -1