projects
/
framework
/
uifw
/
xorg
/
lib
/
libx11.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
upload tizen2.0 source
[framework/uifw/xorg/lib/libx11.git]
/
src
/
RdBitF.c
diff --git
a/src/RdBitF.c
b/src/RdBitF.c
index
07967ae
..
ab7d800
100644
(file)
--- a/
src/RdBitF.c
+++ b/
src/RdBitF.c
@@
-216,6
+216,11
@@
XReadBitmapFileData (
*ptr=value;
}
}
+
+ /* If we got to this point, we read a full bitmap file. Break so we don't
+ * start reading another one from the same file and leak the memory
+ * allocated for the previous one. */
+ break;
} /* end while */
fclose(fstream);