diff options
author | Mattias Andrée <maandree@kth.se> | 2016-07-22 17:34:59 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2016-07-22 17:34:59 +0200 |
commit | 9fdf8cd92de9a131f7192e1d5de589032630eab7 (patch) | |
tree | c5288e0377c704b760d9eb88725d06a184026c88 /src | |
parent | m (diff) | |
download | libcoopgamma-9fdf8cd92de9a131f7192e1d5de589032630eab7.tar.gz libcoopgamma-9fdf8cd92de9a131f7192e1d5de589032630eab7.tar.bz2 libcoopgamma-9fdf8cd92de9a131f7192e1d5de589032630eab7.tar.xz |
Fix libcoopgamma_get_methods
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | src/libcoopgamma.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libcoopgamma.c b/src/libcoopgamma.c index 345909f..031af1a 100644 --- a/src/libcoopgamma.c +++ b/src/libcoopgamma.c @@ -1023,6 +1023,7 @@ char** libcoopgamma_get_methods(void) rc[n] = NULL; while (n--) { + rc[n] = buffer; buffer = stpcpy(buffer, methods[n]) + 1; free(methods[n]); } |