File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 88 *
99 *
1010 * IDENTIFICATION
11- * $Header: /cvsroot/pgsql/src/backend/catalog/pg_proc.c,v 1.43 2000/05/28 17:55:54 tgl Exp $
11+ * $Header: /cvsroot/pgsql/src/backend/catalog/pg_proc.c,v 1.44 2000/06/14 04:53:44 momjian Exp $
1212 *
1313 *-------------------------------------------------------------------------
1414 */
@@ -67,6 +67,7 @@ ProcedureCreate(char *procedureName,
6767 Oid toid ;
6868 NameData procname ;
6969 TupleDesc tupDesc ;
70+ Oid retval ;
7071
7172 /* ----------------
7273 * sanity checks
@@ -327,5 +328,7 @@ ProcedureCreate(char *procedureName,
327328 CatalogCloseIndices (Num_pg_proc_indices , idescs );
328329 }
329330 heap_close (rel , RowExclusiveLock );
330- return tup -> t_data -> t_oid ;
331+ retval = tup -> t_data -> t_oid ;
332+ heap_freetuple (tup );
333+ return retval ;
331334}
You can’t perform that action at this time.
0 commit comments