Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b95f1006 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "NetlinkEvent: trivial simplification." into main

parents 620ea565 15632504
Loading
Loading
Loading
Loading
+4 −9
Original line number Diff line number Diff line
@@ -150,15 +150,10 @@ NetlinkEvent::NetlinkEvent() {
}

NetlinkEvent::~NetlinkEvent() {
    int i;
    if (mPath)
    free(mPath);
    if (mSubsystem)
    free(mSubsystem);
    for (i = 0; i < NL_PARAMS_MAX; i++) {
        if (!mParams[i])
            break;
        free(mParams[i]);
    for (auto param : mParams) {
        free(param);
    }
}