Fix some leaks in GTK3 plugin viewer

Review Request #1009 — Created Oct. 9, 2021 and submitted

QuLogic
gplugin/gplugin
default
pidgin

Add missing free for abi_version and summary, and put frees at end of function.

Compile only.

Summary
Fix some leaks in GTK3 plugin viewer
Description From Last Updated

Was there actually a leak here because I'm not seeing one..?

grimgrim
grim
  1. 
      
  2. Was there actually a leak here because I'm not seeing one..?

    1. abi_version is g_strdup_printf'd on line 180, and summary is from the g_object_get like the others.

    2. Thanks, I got cross eyed or something when looking at the diff and thought everything was just moved didn't notice the two new ones 🤦

  3. 
      
grim
  1. Ship It!
  2. Awesome work, thanks!!

  3. 
      
grim
Review request changed

Status: Closed (submitted)

Loading...