Skip to content

Commit f126f3b

Browse files
committed
Forgot va_end()...
1 parent 3f328c6 commit f126f3b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

debug.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ void mobile_debug_print(struct mobile_adapter *adapter, const char *fmt, ...)
4747
if (s->current >= MOBILE_DEBUG_BUFFER_SIZE) {
4848
s->current = MOBILE_DEBUG_BUFFER_SIZE - 1;
4949
}
50+
51+
va_end(ap);
5052
}
5153

5254
void mobile_debug_print_hex(struct mobile_adapter *adapter, const void *data, size_t size)

0 commit comments

Comments
 (0)