pgsql: Clean up for warning: fe-auth.c:573: warning: passing argument

From: joe(at)postgresql(dot)org (Joe Conway)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Clean up for warning: fe-auth.c:573: warning: passing argument
Date: 2006-07-12 02:31:56
Message-ID: [email protected]
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Clean up for warning:
fe-auth.c:573: warning: passing argument 1 of 'free' discards qualifiers
from pointer target type
pg_krb5_authname used to return a (const char *) to memory allocated by
krb. Somewhere along the lines this was changed so that a copy was
made, returned, and freed instead. However the const modifier was never
removed.

Modified Files:
--------------
pgsql/src/interfaces/libpq:
fe-auth.c (r1.115 -> r1.116)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/libpq/fe-auth.c.diff?r1=1.115&r2=1.116)

Browse pgsql-committers by date

  From Date Subject
Next Message User Fxjr 2006-07-12 03:47:52 npgsql - Npgsql: 2006-07-12 Francisco Figueiredo Jr.
Previous Message Alvaro Herrera 2006-07-11 21:21:59 pgsql: Apply entab fix from Marko Kreen for these problems: - halt.c