glib/glib
Christian Persch 2f4b46e378 Plug a mem leak in g_environ_unsetenv
==9458== 10 bytes in 1 blocks are definitely lost in loss record 16 of 39
==9458==    at 0x402AD89: malloc (vg_replace_malloc.c:236)
==9458==    by 0x4221A1F: vasprintf (vasprintf.c:78)
==9458==    by 0x40C6065: g_vasprintf (gprintf.c:314)
==9458==    by 0x409D894: g_strdup_vprintf (gstrfuncs.c:509)
==9458==    by 0x409D8C9: g_strdup_printf (gstrfuncs.c:535)
==9458==    by 0x40672E9: g_environ_setenv (genviron.c:156)
==9458==    by 0x80490E7: test_environ_array (environment.c:78)
==9458==    by 0x40A3DB5: test_case_run (gtestutils.c:1662)
==9458==    by 0x40A40B2: g_test_run_suite_internal (gtestutils.c:1715)
==9458==    by 0x40A417C: g_test_run_suite_internal (gtestutils.c:1726)
==9458==    by 0x40A42F9: g_test_run_suite (gtestutils.c:1771)
==9458==    by 0x40A3441: g_test_run (gtestutils.c:1319)
==9458==    by 0x80493F1: main (environment.c:108)

Bug #669412.
2012-02-05 19:57:09 +01:00
..
deprecated gthread.h: avoid anonymous union 2012-01-02 11:39:01 -05:00
glib-mirroring-tab removed all .cvsignore files. SVN doesn't need them. 2007-01-03 11:22:36 +00:00
gnulib Replace -I with $(glib_INCLUDES) and friends 2010-08-06 13:10:34 -04:00
libcharset Quiet down the build a bit 2011-05-28 14:29:08 -04:00
pcre Remove duplicate 'struct real_pcre' declaration 2011-07-22 15:47:24 +02:00
tests Add a test to show that GMarkup properly handles > in content 2012-01-31 22:02:22 -05:00
update-pcre Replace -I with $(glib_INCLUDES) and friends 2010-08-06 13:10:34 -04:00
.gitignore update .gitignores 2011-06-12 16:17:30 -04:00
abicheck.sh Simply symbols files 2011-05-23 00:21:06 -04:00
docs.c documentation fixes 2011-12-13 23:01:51 -05:00
galloca.h Make single includes mandatory 2011-10-12 00:25:38 -04:00
garray.c GArray: initialize the clear_func pointer 2012-01-25 12:04:12 +01:00
garray.h array: Add a clear function 2012-01-24 23:25:38 -05:00
gasyncqueue.c Include genviron.h where necessary 2011-10-15 20:06:32 -04:00
gasyncqueue.h Don't use G_DISABLE_DEPRECATED guards around deprecated functions 2011-11-03 00:04:15 -04:00
gasyncqueueprivate.h GAsyncQueue: Move private API to a private header 2011-10-01 20:22:46 -04:00
gatomic.c gatomic: introduce G_ATOMIC_LOCK_FREE 2011-10-18 16:45:28 -04:00
gatomic.h Don't use G_DISABLE_DEPRECATED guards around deprecated functions 2011-11-03 00:04:15 -04:00
gbacktrace.c gbacktrace: g_get_prgname () isn't called for a NULL argument 2012-01-06 14:41:08 -05:00
gbacktrace.h documentation fixes 2011-12-13 23:01:51 -05:00
gbase64.c comments/docs: Fix couple of typos 2012-01-28 07:52:56 +01:00
gbase64.h Make single includes mandatory 2011-10-12 00:25:38 -04:00
gbitlock.c GBitLock: turn assumptions of g_futex_int_address into a static assertion 2012-01-02 12:23:01 -05:00
gbitlock.h Make single includes mandatory 2011-10-12 00:25:38 -04:00
gbookmarkfile.c fix memory leak in g_bookmark_file_parse() 2012-02-04 10:01:19 -05:00
gbookmarkfile.h Make single includes mandatory 2011-10-12 00:25:38 -04:00
gbsearcharray.h Spelling fixes 2011-08-29 14:49:32 -04:00
gbytes.c GBytes: add a size argument to g_bytes_get_data 2011-12-15 07:22:37 +01:00
gbytes.h GBytes: add a size argument to g_bytes_get_data 2011-12-15 07:22:37 +01:00
gcharset.c GLib: Add forgotten includes and build fixes 2011-10-17 23:54:05 +08:00
gcharset.h Fix an include guard mismatch 2011-10-17 17:01:36 -04:00
gchecksum.c comments/docs: Fix couple of typos 2012-01-28 07:52:56 +01:00
gchecksum.h Make single includes mandatory 2011-10-12 00:25:38 -04:00
gconstructor.h Move constructor macros to an internal header and into generated code 2012-01-30 16:59:27 +01:00
gconvert.c More consistent doc formatting 2011-11-12 21:54:42 -05:00
gconvert.h Make single includes mandatory 2011-10-12 00:25:38 -04:00
gdataset.c comments/docs: Fix couple of typos 2012-01-28 07:52:56 +01:00
gdataset.h Make single includes mandatory 2011-10-12 00:25:38 -04:00
gdatasetprivate.h Don't include glib.h in other headers 2010-09-03 21:24:40 -04:00
gdate.c comments/docs: Fix couple of typos 2012-01-28 07:52:56 +01:00
gdate.h Make single includes mandatory 2011-10-12 00:25:38 -04:00
gdatetime.c g_date_time_format: fix output in non-UTF-8 locales 2012-01-20 19:50:48 -05:00
gdatetime.h Make single includes mandatory 2011-10-12 00:25:38 -04:00
gdir.c Move file utility docs inline 2011-10-01 23:03:09 -04:00
gdir.h Make single includes mandatory 2011-10-12 00:25:38 -04:00
gen-iswide-table.py Bug 648966 - Update g_unichar_iswide and g_unichar_iswide_cjk 2011-04-29 18:03:24 -04:00
gen-script-table.pl Bug 491554 – Update to Unicode 5.1.0 2008-04-08 02:59:05 +00:00
gen-unicode-tables.pl Don't use deprecated G_UNICODE_COMBINING_MARK 2011-07-22 10:33:47 -04:00
genviron.c Plug a mem leak in g_environ_unsetenv 2012-02-05 19:57:09 +01:00
genviron.h genviron: #include fixups 2011-10-16 21:41:15 -04:00
gerror.c g_error_new_valist, g_error_copy: warn if domain is 0 or message is NULL 2012-01-15 23:21:03 -05:00
gerror.h Make single includes mandatory 2011-10-12 00:25:38 -04:00
gfileutils.c Correct some Since tags 2011-12-29 11:57:42 -05:00
gfileutils.h Don't use G_DISABLE_DEPRECATED guards around deprecated functions 2011-11-03 00:04:15 -04:00
ggettext.c comments/docs: Fix couple of typos 2012-01-28 07:52:56 +01:00
ggettext.h Move gettext variations into their own files 2011-10-17 01:50:00 -04:00
ghash.c GHash: add note about randomness in hashing 2012-01-25 10:09:09 -05:00
ghash.h minor fixup to last commit 2012-01-06 10:25:03 -05:00
ghmac.c g_hmac_get_string: don't allocate and leak an unused buffer 2011-12-14 12:26:16 +00:00
ghmac.h Make single includes mandatory 2011-10-12 00:25:38 -04:00
ghook.c documentation fixes 2011-12-13 23:01:51 -05:00
ghook.h Make single includes mandatory 2011-10-12 00:25:38 -04:00
ghostutils.c ghostutils: Convert non-ASCII dots to '.' when converting hostnames 2010-12-15 03:56:35 -05:00
ghostutils.h Add hostname-related utilities in glib/ghostutils.h 2009-04-22 08:36:02 -04:00
gi18n-lib.h Bug 548321 – <string.h> is not included in gi18n-lib.h 2008-09-11 16:48:44 +00:00
gi18n.h Bug 548321 – <string.h> is not included in gi18n-lib.h 2008-09-11 16:48:44 +00:00
giochannel.c documentation fixes 2011-12-13 23:01:51 -05:00
giochannel.h Don't use G_DISABLE_DEPRECATED guards around deprecated functions 2011-11-03 00:04:15 -04:00
giounix.c open(2): POSIX compatibility. 2011-08-15 03:54:35 -04:00
giowin32.c Fix spelling of G_IO_FLAG_IS_WRITEABLE 2011-09-08 20:22:42 -04:00
gkeyfile.c GKeyFile: allow loading from empty strings 2012-01-26 14:40:34 -05:00
gkeyfile.h GKeyFile: Add refcounting API 2011-10-15 17:44:45 -04:00
glib_probes.d Initial support for dtrace and systemtap 2010-05-27 14:51:41 -04:00
glib_trace.h Initial support for dtrace and systemtap 2010-05-27 14:51:41 -04:00
glib-init.c documentation fixes 2011-12-13 23:01:51 -05:00
glib-init.h win32: Add a monotonic timer 2011-11-16 09:10:45 +01:00
glib-object.h Clean up includes 2011-05-28 23:27:24 -04:00
glib-private.c glib worker: move to glib-private framework 2011-09-09 14:32:00 -04:00
glib-private.h glib-private: #include <glib.h> 2011-09-09 16:05:55 -04:00
glib-unix.c documentation fixes 2011-12-13 23:01:51 -05:00
glib-unix.h documentation fixes 2011-12-13 23:01:51 -05:00
glib.h GBytes: A new type for an immutable set of bytes. 2011-11-24 08:58:38 +01:00
glib.py Fix GHashTable GDB pretty printing (bug #667420) 2012-01-09 09:29:20 +01:00
glib.rc.in Update the year in the *.rc.in files 2011-06-07 08:55:31 +08:00
glib.stp.in Initial support for dtrace and systemtap 2010-05-27 14:51:41 -04:00
glib.symbols array: Add a clear function 2012-01-24 23:25:38 -05:00
glibconfig.h.win32.in gatomic: introduce G_ATOMIC_LOCK_FREE 2011-10-18 16:45:28 -04:00
glibintl.h Remove all uses of G_CONST_RETURN 2011-06-09 11:15:40 -04:00
glist.c Document that g_list_sort is a stable sort. 2011-11-20 16:53:36 +01:00
glist.h Make single includes mandatory 2011-10-12 00:25:38 -04:00
gmacros.h Move constructor macros to an internal header and into generated code 2012-01-30 16:59:27 +01:00
gmain-internal.h glib-unix: New API to watch some Unix signals 2011-04-27 16:01:39 -04:00
gmain.c gmain: fix a bunch of comment typos in g_get_monotonic_time() 2012-01-26 09:54:50 -05:00
gmain.h Don't put documentation in glibconfig.h 2011-12-27 16:22:13 -05:00
gmappedfile.c GBytes: A new type for an immutable set of bytes. 2011-11-24 08:58:38 +01:00
gmappedfile.h GBytes: A new type for an immutable set of bytes. 2011-11-24 08:58:38 +01:00
gmarkup.c Remove a bit of dead code 2011-10-08 19:02:06 -04:00
gmarkup.h Make single includes mandatory 2011-10-12 00:25:38 -04:00
gmem.c end the glib-ctor experiment 2011-10-04 17:32:53 -04:00
gmem.h Make single includes mandatory 2011-10-12 00:25:38 -04:00
gmessages.c documentation fixes 2011-12-13 23:01:51 -05:00
gmessages.h Don't use G_DISABLE_DEPRECATED guards around deprecated functions 2011-11-03 00:04:15 -04:00
gmirroringtable.h Bug 491554 – Update to Unicode 5.1.0 2008-04-08 02:59:05 +00:00
gnode.c Macro to insert a new GNode "after" the given sibling. 2012-01-24 23:41:23 -05:00
gnode.h Macro to insert a new GNode "after" the given sibling. 2012-01-24 23:41:23 -05:00
goption.c goption: implement platform_get_argv0() for OpenBSD 2012-01-30 16:17:06 +01:00
goption.h Make single includes mandatory 2011-10-12 00:25:38 -04:00
gpattern.c Correct gtk-doc SECTION: syntax 2011-02-01 16:18:02 -02:00
gpattern.h Make single includes mandatory 2011-10-12 00:25:38 -04:00
gpoll.c Include giochannel.c for G_IO_IN, etc. 2010-09-13 16:52:51 +02:00
gpoll.h documentation fixes 2011-12-13 23:01:51 -05:00
gprimes.c Move gutils docs inline 2011-06-08 23:44:39 -04:00
gprimes.h Make single includes mandatory 2011-10-12 00:25:38 -04:00
gprintf.c Replace @Varargs with @... 2011-07-22 15:47:24 +02:00
gprintf.h make it possible to disable single-file includes by defining 2008-03-14 19:30:38 +00:00
gprintfint.h
gqsort.c Fix usage of _GNU_SOURCE 2011-05-03 07:07:41 -04:00
gqsort.h Make single includes mandatory 2011-10-12 00:25:38 -04:00
gquark.h Make single includes mandatory 2011-10-12 00:25:38 -04:00
gqueue.c Added API g_queue_free_full(). 2011-12-16 09:51:16 -05:00
gqueue.h Added API g_queue_free_full(). 2011-12-16 09:51:16 -05:00
grand.c comments/docs: Fix couple of typos 2012-01-28 07:52:56 +01:00
grand.h Make single includes mandatory 2011-10-12 00:25:38 -04:00
gregex.c glib/*: Use g_list_free_full() 2012-01-03 16:53:47 +01:00
gregex.h Make single includes mandatory 2011-10-12 00:25:38 -04:00
gscanner.c documentation fixes 2011-12-13 23:01:51 -05:00
gscanner.h documentation fixes 2011-12-13 23:01:51 -05:00
gscripttable.h Update to Unicode 6.0 2011-01-21 16:30:19 -05:00
gsequence.c comments/docs: Fix couple of typos 2012-01-28 07:52:56 +01:00
gsequence.h Make single includes mandatory 2011-10-12 00:25:38 -04:00
gshell.c glib/*: Use g_slist_free_full() convenience function 2012-01-05 04:57:48 +01:00
gshell.h Make single includes mandatory 2011-10-12 00:25:38 -04:00
gslice.c comments/docs: Fix couple of typos 2012-01-28 07:52:56 +01:00
gslice.h Make single includes mandatory 2011-10-12 00:25:38 -04:00
gslist.c More consistent doc formatting 2011-11-12 21:54:42 -05:00
gslist.h Make single includes mandatory 2011-10-12 00:25:38 -04:00
gspawn-win32-helper.c glib/giowin32.c glib/gmain.c glib/gspawn-win32.c Change gssize casts 2008-08-04 18:46:59 +00:00
gspawn-win32.c glib/: fully remove galias hacks 2010-07-07 19:34:35 -04:00
gspawn.c documentation fixes 2011-12-13 23:01:51 -05:00
gspawn.h documentation fixes 2011-12-13 23:01:51 -05:00
gstdio.c documentation fixes 2011-12-13 23:01:51 -05:00
gstdio.h Spelling fixes 2011-08-29 14:49:32 -04:00
gstrfuncs.c Fix to handle '\v' (vertical tab) by g_strescape() and g_strcompress(). 2011-12-27 21:49:19 -05:00
gstrfuncs.h Don't use G_DISABLE_DEPRECATED guards around deprecated functions 2011-11-03 00:04:15 -04:00
gstring.c Move all hash functions to ghash.c 2011-10-02 00:08:54 -04:00
gstring.h Don't use G_DISABLE_DEPRECATED guards around deprecated functions 2011-11-03 00:04:15 -04:00
gstringchunk.c gstringchunk.c: Include gutils.h 2011-10-04 23:08:12 +08:00
gstringchunk.h Make single includes mandatory 2011-10-12 00:25:38 -04:00
gtester-report gtester-report: Add an optional 'revision' node 2010-12-28 16:35:12 +00:00
gtester.c comments/docs: Fix couple of typos 2012-01-28 07:52:56 +01:00
gtestutils.c Mention g_test_undefined() when documenting assert_failed, assert_stderr 2012-01-05 15:47:50 +00:00
gtestutils.h Add undefined/no-undefined mode options to GTester 2011-12-27 17:51:11 -05:00
gthread-posix.c comments/docs: Fix couple of typos 2012-01-28 07:52:56 +01:00
gthread-win32.c Bug 666551-Fix a few dangling pointers 2011-12-22 10:51:31 +08:00
gthread.c documentation fixes 2011-12-13 23:01:51 -05:00
gthread.h Misc doc formatting fixes 2011-10-15 17:00:56 -04:00
gthreadpool.c Misc doc formatting fixes 2011-10-15 17:00:56 -04:00
gthreadpool.h Make single includes mandatory 2011-10-12 00:25:38 -04:00
gthreadprivate.h GThread: handle thread names safely 2011-11-14 22:18:13 -05:00
gtimer.c Document exactly what g_time_val_to_iso8601() produces 2011-11-17 23:11:01 -05:00
gtimer.h Make single includes mandatory 2011-10-12 00:25:38 -04:00
gtimezone.c GBytes: add a size argument to g_bytes_get_data 2011-12-15 07:22:37 +01:00
gtimezone.h Make single includes mandatory 2011-10-12 00:25:38 -04:00
gtrashstack.c Move GTrashStack out of gutils.[hc] 2011-10-16 16:52:24 -04:00
gtrashstack.h Move GTrashStack out of gutils.[hc] 2011-10-16 16:52:24 -04:00
gtree.c Remove two useless lines of code 2011-11-29 22:16:53 -05:00
gtree.h Don't use G_DISABLE_DEPRECATED guards around deprecated functions 2011-11-03 00:04:15 -04:00
gtypes.h Make single includes mandatory 2011-10-12 00:25:38 -04:00
gunibreak.c Remove redundant header inclusions 2010-09-03 20:38:30 -04:00
gunibreak.h Update to Unicode 6.0 2011-01-21 16:30:19 -05:00
gunichartables.h Don't use deprecated G_UNICODE_COMBINING_MARK 2011-07-22 10:33:47 -04:00
gunicode.h Fix since tag 2011-12-10 21:49:10 -05:00
gunicodeprivate.h Don't include glib.h in other headers 2010-09-03 21:12:03 -04:00
gunicollate.c GLib: Add forgotten includes and build fixes 2011-10-17 23:54:05 +08:00
gunicomp.h Update to Unicode 6.0 2011-01-21 16:30:19 -05:00
gunidecomp.c unicode: Fix a few issues with G_UNICHAR_MAX_DECOMPOSITION_LENGTH 2011-12-06 19:41:31 +00:00
gunidecomp.h Remove comp_step_table table 2011-07-14 16:55:35 -04:00
guniprop.c unicode: Fix a few issues with G_UNICHAR_MAX_DECOMPOSITION_LENGTH 2011-12-06 19:41:31 +00:00
gurifuncs.c More consistent doc formatting 2011-11-12 21:54:42 -05:00
gurifuncs.h Make single includes mandatory 2011-10-12 00:25:38 -04:00
gutf8.c Clarify g_utf8_strlen docs a bit 2012-01-04 00:10:11 -05:00
gutils.c docs: g_atexit: do not point in a direction for where to find details 2011-12-27 10:18:41 -05:00
gutils.h Don't use G_DISABLE_DEPRECATED guards around deprecated functions 2011-11-03 00:04:15 -04:00
gvariant-core.c GBytes: add a size argument to g_bytes_get_data 2011-12-15 07:22:37 +01:00
gvariant-core.h GBytes: A new type for an immutable set of bytes. 2011-11-24 08:58:38 +01:00
gvariant-internal.h GVariant variable arguments, tests, cleanups 2010-03-08 10:31:19 -05:00
gvariant-parser.c GVariant: drop use of @returns 2011-11-21 11:33:21 -05:00
gvariant-serialiser.c GVariant: drop use of @returns 2011-11-21 11:33:21 -05:00
gvariant-serialiser.h GVariant variable arguments, tests, cleanups 2010-03-08 10:31:19 -05:00
gvariant.c gvariant: Never break out of g_variant_iter_loop 2012-01-02 18:34:08 +01:00
gvariant.h Make single includes mandatory 2011-10-12 00:25:38 -04:00
gvarianttype.c GVariant: drop use of @returns 2011-11-21 11:33:21 -05:00
gvarianttype.h docs: Tell which function to use to avoid errors. 2011-11-07 15:29:51 +01:00
gvarianttypeinfo.c locks: drop _INIT macros 2011-10-02 22:33:10 -04:00
gvarianttypeinfo.h Spelling fixes 2011-08-29 14:49:32 -04:00
gversion.c More consistent doc formatting 2011-11-12 21:54:42 -05:00
gversion.h Move version APIs out of gutils 2011-10-16 17:01:26 -04:00
gwakeup.c docs fixups for glib/ 2011-09-05 19:00:11 -04:00
gwakeup.h gwakeup.h: add missing header for GPollFD 2011-09-09 14:30:01 -04:00
gwin32.c Deprecate g_thread_init() 2011-10-04 15:31:49 -04:00
gwin32.h GLib: Add forgotten includes and build fixes 2011-10-17 23:54:05 +08:00
libglib-gdb.py.in Avoid shadowing dir builtin 2010-12-03 14:41:06 -05:00
Makefile.am Dist gconstructor.h 2012-01-30 17:54:33 -05:00
makefile.msc.in win32: Use timeGetTime as monotonic base 2011-11-16 09:10:46 +01:00
win_iconv.c dos2unix glib/win_iconv.c 2010-09-11 12:08:32 +03:00