]> git.pld-linux.org Git - packages/irssi.git/blob - irssi-invalid_free.patch
- release 5 (by relup.sh)
[packages/irssi.git] / irssi-invalid_free.patch
1 --- irssi-0.8.11/src/irc/dcc/dcc.c      2007-06-07 01:49:35.928848024 +0200
2 +++ irssi-0.8.11/src/irc/dcc/dcc.c-new  2007-06-07 01:52:47.442154599 +0200
3 @@ -55,11 +55,13 @@
4  void dcc_unregister_type(const char *type)
5  {
6         GSList *pos;
7 +       gpointer data;
8  
9         pos = gslist_find_string(dcc_types, type);
10         if (pos != NULL) {
11 -               g_free(pos->data);
12 -                dcc_types = g_slist_remove(dcc_types, pos->data);
13 +               data = pos->data;
14 +               dcc_types = g_slist_remove(dcc_types, data);
15 +               g_free(data);
16         }
17  }
18  
This page took 0.113601 seconds and 3 git commands to generate.