summaryrefslogtreecommitdiff
path: root/drivers/net/3c527.c
diff options
context:
space:
mode:
authorJesper Juhl <jj@chaosbits.net>2011-02-05 20:51:53 +0100
committerDave Airlie <airlied@redhat.com>2011-02-14 09:22:54 +1000
commite917fd39eb35e5b2c464e67a80e759f3eb468e48 (patch)
tree87b892884a47a586b3eb6482fe9c136f527e116e /drivers/net/3c527.c
parentc9417bdd4c6b1b92a21608c07e83afa419c7bb62 (diff)
radeon mkregtable: Add missing fclose() calls
drivers/gpu/drm/radeon/mkregtable.c:parser_auth() almost always remembers to fclose(file) before returning, but it misses two spots. This is not really important since the process will exit shortly after and thus close the file for us, but being explicit prevents static analysis tools from complaining about leaked memory and missing fclose() calls and it also seems to be the prefered style of the existing code to explicitly close the file. So, here's a patch to add the two missing fclose() calls. Signed-off-by: Jesper Juhl <jj@chaosbits.net> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/net/3c527.c')
0 files changed, 0 insertions, 0 deletions