Skip to content

Instantly share code, notes, and snippets.

@lstoll
Created September 30, 2012 17:17
Show Gist options
  • Save lstoll/3807708 to your computer and use it in GitHub Desktop.
Save lstoll/3807708 to your computer and use it in GitHub Desktop.
diff -ur libvirt-0.9.11.4/src/esx/esx_driver.c libvirt-0.9.11.4-patched/src/esx/esx_driver.c
--- libvirt-0.9.11.4/src/esx/esx_driver.c 2012-06-15 20:21:54.000000000 +0200
+++ libvirt-0.9.11.4-patched/src/esx/esx_driver.c 2012-09-30 19:14:36.000000000 +0200
@@ -788,8 +788,8 @@
result = 0;
cleanup:
- VIR_FREE(username);
- VIR_FREE(unescapedPassword);
+ /* VIR_FREE(username); */
+ /* VIR_FREE(unescapedPassword); */
VIR_FREE(password);
VIR_FREE(url);
esxVI_String_Free(&propertyNameList);
@@ -893,8 +893,8 @@
result = 0;
cleanup:
- VIR_FREE(username);
- VIR_FREE(unescapedPassword);
+ /* VIR_FREE(username); */
+ /* VIR_FREE(unescapedPassword); */
VIR_FREE(password);
VIR_FREE(url);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment