Skip to content

Commit 60968b2

Browse files
committed
remove obsolete comment
1 parent db5bb86 commit 60968b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lookup_table.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ const char *capng_capability_to_name(unsigned int capability)
116116
return NULL;
117117

118118
ptr = capng_lookup_number(capability);
119-
if (ptr == NULL) { // This leaks memory, but should almost never be used
119+
if (ptr == NULL) {
120120
snprintf(ptr2, sizeof(ptr2), "cap_%u", capability);
121121
ptr = ptr2;
122122
}

0 commit comments

Comments
 (0)