MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / freeCronObject

Function freeCronObject

src/cron.cpp:4–7  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2#include "cron.h"
3
4void freeCronObject(robj_roptr o)
5{
6 delete reinterpret_cast<const cronjob*>(ptrFromObj(o));
7}
8
9// CRON [name] [single shot] [optional: start] [delay] [script] [numkeys] [key N] [arg N]
10void cronCommand(client *c)

Callers 1

decrRefCountFunction · 0.85

Calls 1

ptrFromObjFunction · 0.85

Tested by

no test coverage detected