{"push_id":1033396880,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"172c9ecea385faad9b3abdb03ee5e6fcc19cf0ab","before":"734911da183f19c2715169d2558723f721531c77","commits":[{"sha":"172c9ecea385faad9b3abdb03ee5e6fcc19cf0ab","author":{"email":"a60e8b7496f7715d71354fe4c06dd24017025bf1@scylladb.com","name":"Duarte Nunes"},"message":"vla: Ensure memory is correctly freed\n\nStructures with a variable length array returned from\nmake_struct_with_vla are deleted by the default destruction policy used\nby std::unique_ptr. This means the sized global operator delete will be\ncalled if the type of the structure is complete, to which the compiler\nwill pass the statically determined size of the structure; this will\nmost likely result in larger object being freed as smaller ones.\n\nThis patch fixes this by using malloc and free instead of the new and\ndelete operators.\n\nSigned-off-by: Duarte Nunes <duarte@scylladb.com>\nMessage-Id: <1458691197-31331-2-git-send-email-duarte@scylladb.com>","distinct":true,"url":"https://api.github.com/repos/scylladb/seastar/commits/172c9ecea385faad9b3abdb03ee5e6fcc19cf0ab"}]}