remmina: update to 1.4.37
[oi-userland.git] / components / network / avahi / patches / 16-memory-crash.patch
blob44afc4b1681e45c3d4f26e6930ebfbd7ce964349
1 --- avahi-0.6.30/avahi-utils/stdb.c.orig 2011-06-08 10:28:42.651208301 +0100
2 +++ avahi-0.6.30/avahi-utils/stdb.c 2011-06-08 10:32:25.750739026 +0100
3 @@ -136,8 +136,9 @@
5 avahi_free(buffer);
6 buffer = avahi_strndup(data.dptr, data.dsize);
7 +#ifdef HAVE_GDBM
8 free(data.dptr);
10 +#endif
11 return buffer;
13 fail:
14 @@ -199,7 +200,9 @@
15 return NULL;
17 enum_key = avahi_strndup(key.dptr, key.dsize);
18 +#ifdef HAVE_GDBM
19 free(key.dptr);
20 +#endif
22 if (!strchr(enum_key, '['))
23 return enum_key;