ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra-Client/Client.xs
(Generate patch)

Comparing deliantra/Deliantra-Client/Client.xs (file contents):
Revision 1.329 by root, Sun Nov 18 13:07:51 2018 UTC vs.
Revision 1.330 by root, Sun Nov 18 15:24:24 2018 UTC

302static void 302static void
303prepend (T *&ptr, int sze, int inc) 303prepend (T *&ptr, int sze, int inc)
304{ 304{
305 T *p; 305 T *p;
306 306
307 New (0, p, sze + inc, T); 307 Newxz (p, sze + inc, T);
308 Zero (p, inc, T);
309 Move (ptr, p + inc, sze, T); 308 Move (ptr, p + inc, sze, T);
310 Safefree (ptr); 309 Safefree (ptr);
311 310
312 ptr = p; 311 ptr = p;
313} 312}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines