authorgravatar for 14938807+xackus@users.noreply.github.comxackus <14938807+xackus@users.noreply.github.com> 2020-12-07 12:30:04+01:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2020-12-07 16:33:27-05:00
log85dc039632f8b7fec2c7e87aed7271daccf46aee
tree27d7f7beb21eff679ece24f8ea40d99b99c8fd4c
parent6294c1136cb44285156c04f9f89f62b0f9e8e471

std.c: freeing null is a no-op


1 files changed, 1 insertions(+), 1 deletions(-)

lib/std/c.zig+1-1
...@@ -248,7 +248,7 @@ pub extern "c" fn setresgid(rgid: gid_t, egid: gid_t, sgid: gid_t) c_int;...@@ -248,7 +248,7 @@ pub extern "c" fn setresgid(rgid: gid_t, egid: gid_t, sgid: gid_t) c_int;
248248
249pub extern "c" fn malloc(usize) ?*c_void;249pub extern "c" fn malloc(usize) ?*c_void;
250pub extern "c" fn realloc(?*c_void, usize) ?*c_void;250pub extern "c" fn realloc(?*c_void, usize) ?*c_void;
251pub extern "c" fn free(*c_void) void;251pub extern "c" fn free(?*c_void) void;
252252
253pub extern "c" fn futimes(fd: fd_t, times: *[2]timeval) c_int;253pub extern "c" fn futimes(fd: fd_t, times: *[2]timeval) c_int;
254pub extern "c" fn utimes(path: [*:0]const u8, times: *[2]timeval) c_int;254pub extern "c" fn utimes(path: [*:0]const u8, times: *[2]timeval) c_int;