diff options
Diffstat (limited to 'dbus/dbus-string.c')
-rw-r--r-- | dbus/dbus-string.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dbus/dbus-string.c b/dbus/dbus-string.c index b39b3a0d..71fc5fcc 100644 --- a/dbus/dbus-string.c +++ b/dbus/dbus-string.c @@ -2651,7 +2651,7 @@ _dbus_string_zero (DBusString *str) { DBUS_STRING_PREAMBLE (str); - memset (real->str, '\0', real->allocated); + memset (real->str - real->align_offset, '\0', real->allocated); } /** @} */ |