diff options
author | tb <> | 2024-08-03 07:43:33 +0000 |
---|---|---|
committer | tb <> | 2024-08-03 07:43:33 +0000 |
commit | 175acd9d1e8225a3feb5633d03fb47052b4bf1b2 (patch) | |
tree | d1b7bafeb2ca0447c6507d223748bcc0b5dda766 /src/lib/libc/string/memmem.3 | |
parent | 6aa69c47d7fad2a69b8a9ac3186a744c4d2c76c2 (diff) | |
download | openbsd-175acd9d1e8225a3feb5633d03fb47052b4bf1b2.tar.gz openbsd-175acd9d1e8225a3feb5633d03fb47052b4bf1b2.tar.bz2 openbsd-175acd9d1e8225a3feb5633d03fb47052b4bf1b2.zip |
Use proper size for allocating indexes
It's a double pointer, so we should allocate a pointer size, not the entire
struct. This saves roughly 500B per class.
CID 507397
ok jsing
Diffstat (limited to 'src/lib/libc/string/memmem.3')
0 files changed, 0 insertions, 0 deletions