X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=types%2Ftypes.c;h=2a9a50922c6f5b62c2cc212b513bffdbb98eb2ba;hp=80ba4eae69a03f809ae6a768db521beb23e4bdfd;hb=427c09b7f5d932748ee0eee050388c9873bcb6c3;hpb=55d7cf314d9cbbc6eb8dae0decc6af27b50cac5f diff --git a/types/types.c b/types/types.c index 80ba4eae..2a9a5092 100644 --- a/types/types.c +++ b/types/types.c @@ -508,6 +508,7 @@ void append_scope_path(const char *path, GArray *q) quark = g_quark_from_string(str); g_array_append_val(q, quark); g_free(str); + ptrend++; /* skip current dot */ } /* last. Check for trailing dot (and discard). */ if (ptrbegin[0] != '\0') {