[parted-devel] [PATCH] libparted: Use pri before freeing it.
Phillip Susi
psusi at ubuntu.com
Thu Feb 26 15:34:52 UTC 2015
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 2/25/2015 5:39 PM, Brian C. Lane wrote:
> This could have used pri after freeing it. Move it up into the if
> clause.
Good catch. Good thing I hadn't had time to push it yet. I should
also make sure to do some testing under valgrind to catch things like
this.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
iQEcBAEBAgAGBQJU7z0bAAoJENRVrw2cjl5R2mEH/irChQjQ8a3nYOy70XFcGYC/
CBbg/e4xCXph1qHFyaEgD4NlltQX9f5I/Zk7MqEAWRdxmfQa/iklrgrjD372qko/
nQ2wpU3FxPLQcsu96L5Tp50bWyFQKS/JhS6tsd0qgK4yBnRvlpkNUnGMEsScVMq5
uDM/UOxUx9MKEdVddjRT5LzqYiupvdbdtvXvtih4reCe+Krl1GZhdgSxaa4SLRVd
6cE+MDlW6CVca071tTB0EJiJkSiDQTU6i8KqDKVkcbRHewwy0Ab4tcPJrH+8yYk9
7fdimmy+j0hsehsJYmqn/m44UVD2sZDyt3oxjZJDBlCkPHdHjiFxDeSqD37r9BA=
=3cy6
-----END PGP SIGNATURE-----
More information about the parted-devel
mailing list