X-Git-Url: https://gapil.gnulinux.it/gitweb/?a=blobdiff_plain;f=sources%2Fgetcap.c;h=349381279bae83cf67072bb52a57e9e628239937;hb=31f55ec58bee8b2c4993633849b7da4e30cab222;hp=116f3cbbfbeb9f8bac1161cbac3724964ed3592b;hpb=2fcfdcb7ec5f5fdacbdeaff72961f1c35d0858dd;p=gapil.git diff --git a/sources/getcap.c b/sources/getcap.c index 116f3cb..3493812 100644 --- a/sources/getcap.c +++ b/sources/getcap.c @@ -26,7 +26,6 @@ * * Usage: getcap -h give all info's * - * ****************************************************************/ /* * Include needed headers @@ -36,8 +35,8 @@ #include /* C standard library */ #include /* unix standard library */ #include /* standard I/O library */ -#include /* string functions */ -#include +#include /* C strings library */ +#include /* primitive system data types */ #include /* Help printing routine */ @@ -110,6 +109,7 @@ int main(int argc, char *argv[]) printf("Capability: %s\n", string); cap_free(capab); + cap_free(string); return 0; } /*