~chrisccoulson/libdbusmenu/lp722972-part-2

« back to all changes in this revision

Viewing changes to libdbusmenu-gtk/menuitem.c

  • Committer: Ted Gould
  • Date: 2011-03-10 15:18:26 UTC
  • mfrom: (262.1.1 lp722972)
  • Revision ID: ted@gould.cx-20110310151826-10oqp8qt4g9tdexq
Memory leak fixes

Show diffs side-by-side

added added

removed removed

Lines of Context:
119
119
                g_error_free(error);
120
120
        }
121
121
 
122
 
        error = NULL;
123
 
        g_input_stream_close(input, NULL, &error);
124
 
        if (error != NULL) {
125
 
                g_warning("Unable to close input stream: %s", error->message);
126
 
                g_error_free(error);
127
 
        }
 
122
        g_object_unref(input);
128
123
        g_free(icondata);
129
124
 
130
125
        return icon;